Hi All,
Hope you're doing good.
I'm currently working around the creation of SharePoint sites and applying a custom template to them.
Creating the site is ok.
I found the way to create a site template and adding it to "From my Organization" so i can manually apply it.
I also managed to create list templates and apply them to a site.
So this part is ok.
I currently work for an organization where i can't add templates to the "From my organization" section.
Going around i found the way to generate the Site Script for a list and directly apply it to a site using the endpoint "ExecuteTemplateScript". that works exactly the way i want it
I'm trying to find a way to do the exact same thing but with the site.
This i could do the "GetSiteScriptFromWeb" and directly apply it to a site without having it in the "From my Organization" section.
I'm really struggling with this and i cannot find anything. Since you can do it for a list, to me, you should be able to do it for a site.
Does anyone know how to do this ??
Thanks a lot for your help