Forum Discussion
List/view formatting samples script
Hello,
Is there a script available where a user could install/configure all of the List formatting samples that are current in the GitHub repo into their tenant? We currently have a demo site where we are installing/configuring all of the column and view samples one by one.
Thanks.
1 Reply
lcarl1978 I don't think there any script/solution available to automatically install/configure all of the List formatting samples.
Each sample needs different types of columns with specific internal names, etc. So, there is no way to do this automatically from GitHub repository. You have to create SharePoint lists/columns on your own (manually or maybe PowerShell/PnP or any other automation solution) & then apply the list formatting samples.
You can use below automate options to apply list view formatting samples:
- SharePoint Online: Apply JSON View formatting using SharePoint REST API
- SharePoint Online: Apply JSON View formatting using PnP PowerShell
- SharePoint Online: Apply JSON View formatting using CLI for Microsoft 365
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.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs