Apr 20 2021 02:47 AM
Hi Guys
I am pretty new with PowerShell, and trying to find a way to achieve the following.
We have built a site template with different lists, which are using JSON formatting for columns such as 'Finish Date', 'Status' etc. We have also applied some formatting to the body and footer for the items.
Now we have this template, is there an easy way to copy these JSON formats into existing sites? The site template is otherwise the same (i.e. field names), just no JSON.
I have looked at some PNP cmdlets but can't quite find what I want!
Hope that makes sense!
Apr 21 2021 04:56 AM - edited Apr 21 2021 05:25 AM
@robtaylor1996 You can apply JSON formatting to columns using PnP PowerShell. check below links for the same:
Also, you can apply form JSON formatting using API, Thanks to @Beau Cameron :
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.
Apr 21 2021 07:04 AM