Sharepoint template - remove documents from home page

Copper Contributor

Hello I am trying to remove the default document quick access that is created by default on the home page aspx when I create a sharepoint site.

Henry_Xia_0-1714479908093.png

I have an org template, and I would like to know how should I modify the json file to remove this documents quick access.

 

1 Reply

@Henry_Xia 

 

Are you trying to remove it from specific SharePoint site you created? If yes - you can edit the page and remove the document library web part: Create and use modern pages on a SharePoint site 

 

Also, you cannot modify SharePoint default site template to make any changes like this.

 

If you are creating custom site template, check below Microsoft official documentations. But I think handling web parts on site pages is not supported currently:

  1. SharePoint site template and site script overview 
  2. SharePoint Site template JSON schema 

Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.