SharePoint Online Snippet Gallery not working.

Moheed Gillani 10 Reputation points
2023-03-23T09:17:46.4333333+00:00

vedio link :- https://drive.google.com/file/d/19jHgc9KbkkPlrxv099itotvrbihpmcmW/view

steps for replicating issue

  • Go to the team site and at the top right corner click on the gear icon and then select site content.
  • Click on the site settings then under the look and feel section click on the design manager. Then click on edit master pages and preview your master page.
  • Once you are able to preview a master page Click on the Snippet option on the top right corner then this error will occur
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,663 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Yanli Jiang - MSFT 21,371 Reputation points Microsoft Vendor
    2023-03-24T07:42:40.13+00:00

    Hi @Moheed Gillani ,

    This is by design in SharePoint Online. Lot of setting are disabled by default in SharePoint Online. Keeping in mind security considerations, SharePoint admin center->Settings->Custom Script is turned off by default. This is done to disable some of the customization features as well as to disable couple of other features that depend on script. SharePoint Designer Customizations are also disabled by default. 

    For more Information:

    https://support.office.com/en-us/article/Turn-scripting-capabilities-on-or-off-1F2C515F-5D7E-448A-9FD7-835DA935584F?ui=en-US&rs=en-US&ad=US

    If the issue still exists, we suggest you can create a new service request ,and more professional will help you.

    (Microsoft 365 admin center ->> Support ->> New service request)

    07051

    Thanks for your understanding.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments