Forum Discussion
Joe Fedorowicz
Feb 04, 2017Iron Contributor
Add WSP Solution to Office 365 Group Site
Good morning, I have a workflow that utilizes a Solution to generate a templated subsite when a list item is created. This works great on non-Office 365 Group SharePoint sites, but I was hoping ...
Feb 04, 2017
That's not the way to go: using the save as template feature for sites...the scenario you are describing fits really well with the capabilities provided by the PnP Provisioning engine and cmdlets
Joe Fedorowicz
Feb 04, 2017Iron Contributor
So I want to spin up a subsite with a certain set of libraries (with content types) and lists in it, every time someone submits a list item.
How would you recommend I do that?
- Feb 04, 2017One approach could be to use a Web Job published in Azure that just reads the subsite definition extracted by means of the PnP cmdlets and apply it when creating the new sites....the Web Job is continuously polling the list to locate new requests so It can create the new site. Another approach coul be to create a service (a REST one) that do exactly the same and it's called by a Flow attached to the list...of course, you could call also this same service from a SharePoint workflow. If you ask my recommendation, the first one is much more easy to get it working
- Joe FedorowiczFeb 05, 2017Iron ContributorThank you. I seem to think that my current strategy is no good. The Web Job and PNP CMDLets, would they be a series of actions that would, individually, create the site the way I want it? Is there any other way to do this in a package, or is that functionality gone?
Thanks.- Feb 05, 2017Indeed you can see the Web Job as a package you upload to Azure Web Sites
- VesaJuvonenFeb 05, 2017
Microsoft
Just to confirm and provide some additional resouces. Like jcgonzalezmartin mentioned, modern SP sites are different and since they have "noscript" setting enabled, you cannot use sandbox solutions with them. Your can find supported and non-supported features from following MSDN article.
- Joe FedorowiczFeb 05, 2017Iron ContributorThanks