Unknown Error -2146233088 Pnp Provisioning Template - sharepoint-online

I am try to apply Provisioning template to SharePoint online team site. I have created different templates for different schemas of sites.
While I am applying Site Fields template I got an error for duplicate site column so I have modified the template and removed duplicate columns from the template using CSOM Code.
Click to see image

Related

Sorry, this site can't be saved as a template. It contains apps that don't work in templates

I have tried to save the SharePoint communication site as a template that contains apps. I have faced the below error.
Sorry, this site can't be saved as a template. It contains apps that don't work in templates.
Please check social.technet.microsoft.com link for the same issue.
The above link suggests removing apps and saving the template of the site. But I will need a site template with apps. Can anyone suggest how to save SharePoint communication site as a template with apps?
Refer to this official article:
https://learn.microsoft.com/en-US/sharepoint/troubleshoot/sites/fails-saving-site-as-template
If the site contains apps that can't be saved as part of the template, it's necessary to remove any affected apps that are listed in the error message, and then save the site as a template.
If you want to use the app after you save the site as a template, you'll have to add it to the site again.
If you want to use the app in a new site based on template, you need to manually add it in the new site.

Not able to create site using site template - SharePoint 2013

I have created SharePoint Site, from which I created a site template, now I need to create similar sites under same site collection using the Site Template. In order to automate this functionality I created the Site Template and try to create new sites from this template using SharePoint Designer Workflow using web services. But while performing this am getting below error.
"The site template requires that the Feature {bf8b58f5-ebae-4a70-9848-622beaaf2043} be installed in the farm or site collection"
To troubleshoot this issue I tried to create the site using the same site template manually, which am able to perform successfully.
I found that above GUID {bf8b58f5-ebae-4a70-9848-622beaaf2043} refers to Power View feature, which I found activated in my site collection, But am not using any power view related functionality in my application.
I would be grateful, if anyone let me know how to resolve this issue.
It seems like the issue is with the template. That error is saying before you create the site template, enable that feature at the site level on the template site before saving the site as a template. I had a similar use case about a year ago to automate all our private team site creation. I found this article very useful.
https://sharepointryan.com/2013/09/10/create-a-sharepoint-site-spweb-using-rest-in-spd-2013-workflow/
In the dictionary for the json request, set WebTemplate to the template / solution ID from your site collection.
Hope it helps.

SharePoint 365 - Site Templates

I've recently create a site template on our SharePoint online environment which did originally have site publishing features enabled. This was done by setting the appropriate flag to enable saving as a template and then using the url /_layouts/15/savetmpl.aspx to save it.
When creating a site from this template i get intermittent errors indicating something went wrong but with no further detail other than a correlation ID. It's not every time and it happens occasionally when using the site.
A couple of questions on this.
a) What with the publishing infrastructure is not supported within Site Templates.
b) What is the best approach to create a custom site template where i can have a custom front page containing web parts and content, based on the publishing page layouts. I've searched through a significant number of posts online and cannot find a definitive answer to this.
Any help is much appreciate. Thanks in advance.
Grant
Please follow the below steps to create Site using custom template :
1.Firstly create site using custom template and select "upload site template later" or "upload solution later".
2.Then go to your created site and firstly enable publishing feature before uploading your site template to the solution gallery.
3.After that just go to the "Solutions" under "Web Designer Galleries" and upload your "Site template".
4.Now go to Site settings and select "Sites and workspaces" under "Site Administration".
5.And you can create your Custom site. you can see your uploaded Site template in Custom tab
Feel free to ask question if you have any doubt.

Unable to create sharepoint site from migrated site template(.wsp)

I have subsite (sharepoint2010) which consist of some custom feature and which has been migrated from sharepoint 2007, I save this site as a site template (in dev environment), when I try to create a site base on that site template in production (it is havig all the updated solution) it was not able to create the site,I check the log and found the following error:
No document templates uploaded for list "$Resources:core,MasterPageGallery;" -- none
found for list template "100"
The logs are written below against the correlation ID
and Failed to apply template "STS#1" to web at URL
Failed to activate site-scoped features for template 'STS#1' in site
0x1A7C SharePoint Foundation Feature Infrastructure 889y High The element of type
'Module' for feature '1324A_Test_NLModules' (id: cd6559bc-d107-4609-baa2-c0582c63351b)
threw an exception during activation:
System.Runtime.InteropServices.COMException (0x80020009):
where '1324A_Test_NL the name of the template.
Although I can create site based on the same template on my development environment.
I have already activated the the PublishingInfrastructure feature, in my site collection features gallery and deleted unnecessary document from one of the document library in the site. Can anyone suggest what will be the resolution?

sharepoint custom list

How do I export custom list into different server on the internet(Development site to Live Site).
Any advice or direction!!
Create a list template based on the list using Save list as template option of the List's settings page. Select the Include content check box.
In the Site Collection Settings section, click Manage list template gallery. Download the template.
Upload the template to a new Site collection's list template gallery using the same menu as in s.2
Create a new list based on the template.

Resources