Showing posts with label Script Editor. Show all posts
Showing posts with label Script Editor. Show all posts

May 25, 2015

SharePoint Online :This HTML cannot be inserted because you don't have access to add scriptable Web Parts in this site. Please contact your administrator if you think you should have rights to do so.



Hello,

Recently when i was working on one of the project requirements to hide quick launch items for a specific page (SharePoint Online) using  script editor webpart(Embed Code webpart) on to the page,  i got  the below error while injecting the script 


"This HTML cannot be inserted because you don't have access to add scriptable Web Parts in this site. Please contact your administrator if you think you should have rights to do so."



The reason for this is, by default the sharepoint sites  in online are configured to not allow to inject the scripts from UI. This has a setting at site administration . You can change the settings by following the below steps

Resolution :


In Custom Script Section select the option "Allow users to run Custom script on personal sites and selfservice created sites.."



Note : As mentioned in the screen, to apply these changes it may take 24 hrs.

Thanks
Purna