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

3 comments:

  1. Hi, Very nice description about SharePoint Project Portal.
    I like your web blog.Because whenever i come into your web blog
    then i always get the new interesting and important information in your web blog.

    Thank You

    SharePoint Project Portal

    ReplyDelete
  2. Sites for Groups doesn't seem to pick up on that setting. Any tips?

    ReplyDelete
    Replies
    1. I have the same problem. The settings were already set but it's still not working

      Delete