Friday 15 July 2016

Fix for SharePoint Online Modern Document Libraries Displaying Blank Pages


The cool SharePoint modern document library page announced as part of Future of SharePoint became available in our Office 365 tenant recently. The new document library page was working fine for most of our users, some users where seeing a blank page when accessing the library. As the users were seeing a plain white page they were not able to accessible.

While trying to find the cause of the issue with the browser developer tools the below error was logged into the console window

AllItems.aspx:10 Uncaught ReferenceError: require is not defined

Looking into the network tab showed that request to the file https://spoprod-a.akamaihd.net/files/odsp-next-prod_ship-2016-07-04_20160711.001/require-951f856e.js failed.

The request failed because the domain spoprod-a.akamaihd.net was blocked in our firewall system. Once we the domain was unblocked in firewall the library page started working correctly.
The updated list of end points that a user should be able to connect for working in SharePoint online can be viewed from https://support.office.com/en-us/article/Office-365-URLs-and-IP-address-ranges-8548a211-3fe7-47cb-abb1-355ea5aa88a2?ui=en-US&rs=en-US&ad=US#BKMK_SPO

Monday 4 July 2016

Switching between classic and modern document library experience in SharePoint Online

As part of the Future of SharePoint event Microsoft announced Modern Document Library Experience in SharePoint. The modern document library experience is faster, simpler and mobile device friendly. This feature has been rolling to SharePoint online sites.



 Users can switch to classic document library view by clicking the Return to classic SharePoint link from the left navigation. A document library owner can switch the experience between modern and classic experience by selecting options from the library settings page.

1.      If the document library has classic view and you want to switch to modern experience, navigate to the library and select Library Settings from the Ribbon.

2.      If the document library has modern view and you want to switch to classic experience, navigate to the library and click Settings Icon from top right and click Library settings.





3.      In the Library settings page, click Advanced settings under the General Settings section.

4.      In the Advanced settings page, scroll down to List experience.




5.      Choose one of the options as detailed below

    1. Default experience set by my administrator – Choose this option if you want to set the library experience as the option set by SharePoint administrator.
    2. New experience – Choose this option to set the library experience to the modern experience.
    3. Classic experience – Choose this option to set the library experience to classic.

SharePoint Online administrators can also change the default experience for all document libraries from the admin center.

1.      Navigate to SharePoint Online Admin Center.

2.      Click settings from the left navigation.

3.      On the settings page select either Classic experience or New experience from SharePoint Lists and Libraries experience options



4.      Selected experience option will be applied to all libraries in the tenant.