Is it possible to add web parts to a JSON template so that when a page is created certain web parts automatically display?
1 Answer
I assume you mean a Site Design when you say JSON template? If so, there is not currently support for configuring webparts on pages.
However, this can be accomplished using PnP Provisioning called from a site script (or just skip the script and apply your templates directly). You can also do this with PnP PowerShell.
-
1Thanks man that is the answer I was looking for, do you happen to know if a road map has been put out yet for configuring webparts on pages? Everything I read is it is all still in beta.hittle08– hittle082020-06-15 17:04:58 +00:00Commented Jun 15, 2020 at 17:04
-
It's been discussed a lot. Honestly though, I wouldn't hold my breath when it comes to Site Designs. I would expect to see more investments in areas like the provisioning service. To be clear, however, I don't work for Microsoft and can't speak on their behalf.theChrisKent– theChrisKent2020-06-15 17:15:42 +00:00Commented Jun 15, 2020 at 17:15