Sunday, 10 February 2019

SharePoint tenant opt-out for modern lists is retiring in 2019

We're making some changes to how environments can opt out of modern lists in SharePoint. Starting April 1, 2019, we're going to begin retiring the ability to opt out of modern lists at the tenant level.
How does this impact me?
In 2016, we introduced a new “modern” experience for SharePoint, bringing extensibility, accessibility, and responsive design to a complete overhaul of the user experience. Since then, modern has been the center of innovation in SharePoint and OneDrive, although classic mode remains supported and available. We’re making it easier for users to get to our latest feature updates. Starting April 1, 2019, it will no longer be possible to restrict an entire organization (tenant) to classic mode for lists and libraries. Lists and libraries may still use classic mode using the granular opt-out switches that we provide at the site collection, site, list, and library levels. Additionally, lists that use certain features and customizations that are not supported by modern will still be automatically switched to classic mode. After April 1, lists and libraries that are in classic mode as a result of tenant opt-out will automatically be shifted to modern. Users will benefit from enhancements and new features such as attention views, PowerApps integration, Flow, column formatting, and the filters pane.
What should I do to prepare for this change?
The SharePoint Modernization scanner identifies sites and lists that have customizations that are not supported by modern UI. Although many of these lists will automatically remain in classic mode even after this change, you may wish to keep some sites running entirely in classic to avoid users switching between different experience modes within a single site. Administrators can use a PowerShell script to enable or disable the modern experience for a single site collection or for a list of site collections as provided by the SharePoint Modernization scanner. Alternately, users can still use the “return to classic” option on modern views of lists or libraries to temporary return to classic, and list owners can use List Settings to configure that list to use the classic experience for all users.

Tuesday, 22 August 2017

Summary Links accordion Webpart in Sharepoint 2013




1. First I added the Summary link web part in my page and added grouping of those links. See in fig
2.  Now enable the all group as an Accordion I simply added Script Editor Web part to this page. See in fig
3. Now I am going to making this web part into a fully functional accordion for this I added a simple JQuery script the performs hide all hyperlinks in this groups and when a user clicks a group header, hide all sections that is not the current header and expand current selected link selection. So add the following code

<style type="text/css">
.groupheader{
    background-color: #0072C6;
    color: white;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 140%;
    padding: 0.5em;
    padding-left: 0.75em;
    margin-right: 0.5em;
    margin-bottom: 1px;
}



.groupmarker:hover .groupheader{

    cursor: pointer;
    background-color: #0597FF;
}
.dfwp-list{
background-color: #181009;
margin-bottom: 0.5em;
margin-right: 0.75em;
margin-left: 0.75em;
margin-bottom: 1px;
}
.dfwp-list .item:hover{
    background-color: #db9356;
}
.dfwp-list .link-item a{
    margin-left: 2em;
    color: white;
}
</style>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript" src="http://gsgd.co.uk/sandbox/jquery/easing/jquery.easing.1.3.js"></script>
<script>
$(document).ready(function(){

            // Detect if user view or edit the page
            if($("#MSOSPWebPartManager_DisplayModeName").val() == "Browse"){
                        // Register accordion
                        accordion();
            }
})
var accordion = function(){

            /* Do fancy easing */
            $.easing.def = "easeOutBounce";

            /* Slide up all link items and hide them */
            /*$(".dfwp-list").slideUp("fast");*/
            $(".dfwp-list").not(":first").slideUp("fast")
            /* Binding a click event handler to the links: */
            $('.groupheader').click(function(e){

                        /* Finding the drop down list that corresponds to the current section: */
                        var dropDown = $(this).next(".dfwp-list");

                        /* Closing all other drop down sections, except the current one */
                        $('.dfwp-list').not(dropDown).slideUp('slow');
                        dropDown.slideToggle('fast');

            })
}
</script> 

4. Whole code added here. See in fig

5. Now you able to see your web part work as an Accordion. See in figs and compare with first fig you able to see the changes.


SharePoint tenant opt-out for modern lists is retiring in 2019

We're making some changes to how environments can opt out of modern lists in SharePoint. Starting April 1, 2019, we're going to be...