Posts

Showing posts from September, 2019

Enabling SideLoading in SharePoint Online for Non-Developer Site

Image
Note 1:  By default this feature is enabled in “Developer Site”. So if your site has been created with the “Developer Site” template then do not use this article since this is for non-developer sites. Note 2:  Enabling this feature is not recommended for production sites. Sideloading apps is insecure. The main reason for blocking sideloading by default on non-developer sites is the risk that faulty apps pose to their host web/host site collection. Apps have the potential to destroy data and make sites or, given enough permissions, can even make site collections unusable. Therefore, apps should only be sideloaded in dev/test environments and never in production. ( Referenece:   Apps for Office and SharePoint blog ) Pre-requisites Install Windows PowerShell from Windows Management Framework (I installed the Windows Management  Framework 3.0 ). Then install “SharePoint Online Management Shell”  Link . Procedure Execute a PowerShell script in any desktop n...

SharePoint ECB Menu Refresh In Federated Authenticated Site

Image
In this article, we look at how to solve the ECB menu refresh in the federated authenticated site.   Note 1   This issue is only for federated authentication and not for Windows Authentication mode.   Note 2   In our scenario, LogonTokenCacheExpirationWindow is 9 minutes and ServiceTokenCacheExpirationWindow is 10 minutes. So, the popup holds good for 1 minute.   In federated authenticated site, ECB menu of an item (List or Library) refresh depends on the lifetime difference between LogonTokenCacheExpirationWindow and ServiceTokenCacheExpirationWindow. By default, it is 10 minutes for both and hence when the ECB menu is clicked the second time after the page loaded, the popup won’t appear. The issue here is the popup must make an AJAX call which expires because the cache is already expired. Select an item under any app in SharePoint and click on the second level ECB Menu (For example click “…” of any document and then again click “…...