How to Save List as a Template using PowerShell in SharePoint?

Requirement: Save a SharePoint list as a template using PowerShell. How to Save List as a template in SharePoint? List templates in SharePoint provide great re-usability without recreating every single column. E.g., you may have created a custom list (say: Projects) in a SharePoint site collection with all relevant columns, and now…

Read more

Create List from Custom List Template in SharePoint using PowerShell

Requirement: Create a SharePoint list from a custom template using PowerShell How to create a SharePoint list from template? List templates in SharePoint save your time by providing a template on any existing list or library, which comprises all columns and optionally the data from the source list. You can create any…

Read more

Increase Maximum Size of Site Template, List Templates in SharePoint

In SharePoint 2007, You can’t save a list or site template (.stp ) file which is bigger than 10MB. MOSS 2007 gives an error message: “The list is too large to save as a template. The size of a template cannot exceed 10485760 bytes.” When you try to save a list or…

Read more

Delete List Template in SharePoint using PowerShell

Requirement:  Delete a list template in SharePoint How to delete a list template SharePoint? To remove a list template in SharePoint, Login to your SharePoint site collection (List templates are scoped at site collection level) >> Click on Settings >> Site Settings On the “Site Settings” page, click on “List Templates” under…

Read more

How to upload a List Template in SharePoint using PowerShell?

Requirement: Upload a custom list template to specific site collections in a web application. While upload a list template using from SharePoint web interface is simple, wanted to automate this process as its repeating for multiple site collections. PowerShell to upload list template in SharePoint: Here is the PowerShell script to upload…

Read more

Deploy Custom List templates(.stp) as Feature-based Solution in SharePoint

Requirement: Had a custom List template, and wanted to make it available in create page of all sites of the site collection. Solution:  How to deploy a SharePoint list template? Create a WSP builder solution to deploy the .stp file to the List template gallery of required site collections! Just create a…

Read more

Migrating SharePoint 2007 Site/List Templates(.stp) to SharePoint 2010

Unfortunately, SharePoint 2007 site templates(.stp) can’t be used as in SharePoint 2010. Hmm… Then, what to do with the custom SharePoint 2007 Site templates? Can’t I use them in SharePoint 2010? Well, You can, Here is the workaround to Migrating MOSS 2007 Site, List Templates(.stp) to SharePoint 2010: Create a site in…

Read more

‘Feature {Guid} for list template ‘template id’ is not installed in this farm. The operation could not be completed’

We received the below Error in Site Manager page in Some sites. Here is the RCA and resolution: Root cause: We have installed some third party products, which internally created its Templates(List template, Document Library template, etc) ,we removed those third party products and the objects created with their template are broken…

Read more

Hide Site templates and List Templates in SharePoint

In my SharePoint Farm, I wanted to disable certain site templates in site creation page. Here is the technique for hiding a Site template in SharePoint 2007: There are XML manifest files found on the file system of the web front end.     Look for the file webtemp.xml,webtempsps.xml,etc  in “C:\Program Files\Common Files\Microsoft Shared\web server…

Read more

SharePoint Site Template, List Template IDs – Reference

Here is the List for SharePoint Site template and List Template IDs. WSS Site Template IDs:  Template ID Site Description STS#0 Team Site STS#1 Blank Site STS#2 Document Workspace MPS#0 Basic Meeting Workspace MPS#1 Blank Meeting Workspace MPS#2 Decision Meeting Workspace MPS#3 Social Meeting Workspace MPS#4 Multipage Meeting Workspace CENTRALADMIN#0 Central Admin…

Read more