6 votes
Accepted

How i can reset my list items IDs and remove all the list data

You can save the list as a template, then create it where you want. The updates on the list view won't be migrated, so what you can do is: Open the first list in SharePoint Designer, by clicking on ...
user avatar
5 votes
Accepted

Get List Template ID JavaScript

As you know the BaseTemplate of discussion board, so you can apply $filter in your all lists /_api/Web/Lists?$filter=BaseTemplate eq 108 Make a GET request to the above URL, It will return all lists ...
user avatar
5 votes

How to create a list template by using CSOM?

The method SaveAsTemplate is not exposed in CSOM API, there is a general suggestion opened: Expose List.SaveAsTemplate() for CSOM API Basically you can create lists using already existing custom ...
user avatar
  • 168
5 votes

How to use imported list template

Simple just go to Site Content -> Click on add an app -> on left top you can get search option then you can search by your list template name -> once you find click on that Template and create a list.
user avatar
5 votes
Accepted

How to use imported list template

Activated "Team Collaboration Lists Feature" and it works now. It is important that this is set at the Site Collection level as well as the Site level. If you find that activating "Team Collaboration ...
user avatar
  • 3,614
4 votes
Accepted

Keep JS Link when adding a list as a webpart

You have to provide js file URL in JSLink property each time while adding your list view web part on the page. List and the list view web part are not the same thing. Saving the list as a template ...
user avatar
3 votes
Accepted

Save Site as Template error

When you save your SharePoint site as a template, you’re saving the overall framework of the site – its lists and libraries, views and forms, and workflows. In addition to these components, you ...
user avatar
  • 5,349
3 votes
Accepted

Get SP.ListTemplateType enum value using JSOM

You can access the members of an enumeration (or any JavaScript object for that matter) using the C# indexer syntax. So the code you want would be something like: var typeList = SP.ListTemplateType["...
user avatar
  • 11.5k
3 votes

List does not exist Error when opening the views

I had an similar Problem. Openup the sharepoint designer and go to the list. In the Details you will se the list guid Take the guid and open the pages with sharepoint designer in wich the error ...
user avatar
  • 940
3 votes
Accepted

The given key was not present in the dictionary

There was a broken lookup in my list. When you create a template which contains a look up, and copy it into a different site, the referenced list no longer exists. The list gets created without ...
user avatar
  • 1,438
2 votes

How can one create a custom list in JSOM based on a custom list template (STP) in 2013?

I know this question is old but no one addressed the issue properly. To use javascript and a list templates it's actually quite easy. create a list create a template based on list goto site content ...
user avatar
  • 17.8k
2 votes

How can one create a custom list in JSOM based on a custom list template (STP) in 2013?

Most probably it occurs since List.TemplateType and ListTemplateFeatureId properties for a out-of-the-box Custom List (Feature ID:00BFEA71-DE22-43B2-A848-C05709900100) are passed instead of your ...
user avatar
2 votes

Difference between enabling feature from PowerShell and activating it via site collection features page?

Make sure to not use SPContext.Current in the FeatureReciever, this will be NULL in powershell (due to lack of HttpContext basically). This is one of the most common cause of errors in ...
user avatar
2 votes

Difference between enabling feature from PowerShell and activating it via site collection features page?

I would suggest that you break the whole thing into two features, first one to deploy the List Template and second one to create the instance of the list based on template.. On the later one, you ...
user avatar
2 votes
Accepted

How can I install list from English template in German SharePoint?

Found solution to my problem here: http://blogbaris.blogspot.com/2012/05/copy-sharepoint-lists-between-sites.html TLDR: unpack stp file, change language code in manifest.xml, repack file with ...
user avatar
  • 2,145
2 votes
Accepted

PowerShell for uploading a .stp file into the list template gallery

if ($ver.Version.Major -gt 1) {$host.Runspace.ThreadOptions = "ReuseThread"} if ((Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue) -eq $null) { Add-PSSnapin "...
user avatar
  • 25.3k
2 votes
Accepted

Provide a customer an upgradeable SharePoint solution containg content types, list templates and so on

We have exactly the same case as yours, our production and beta environments are not in our hand and we have to do deployments using WSP solution package (even if those are updates to existing ...
user avatar
2 votes

Change list template from 2010 version to 2013

Try this to force SP that new look. On that list click: Gear > Edit page Edit web part Under Appearance > Chrome Type change from Default to None Click OK Again Edit web part Under Appearance > ...
user avatar
  • 2,527
2 votes

Display the custom list templates available within a site collection in SharePoint 2010

I think it's something related to your secure site "https". On my end it is working $site= Get-SPSite "http://webapp/sites/site1" $SPWeb = $site.RootWeb $site.GetCustomListTemplates($SPWeb)
user avatar
2 votes
Accepted

Create a new list from custom template with CSOM in SharePoint Online

To create a list using Client Object Model, it is required to pass a unique "TemplateType" as a parameter. However, there seems no unique "TemplateType" provision for a custom list template, thus, we ...
user avatar
  • 535
2 votes

How to modify the existing list template file in SharePoint

There is no straight forward way. But the best option would be create a new list based on that List Template on your new Site Collection In the new list update the calculated formula of a column ...
user avatar
  • 5,928
2 votes
Accepted

Can calculated columns be exported, if site saved as a template?

There is no limitation for Calculated columns. When you save the list as template which contains a calculated column it behaves normally. You will be able to save the list template and recreate a new ...
user avatar
2 votes

Moving list with contents from root site to sub-site does not keep the information of the lookup fields

Credit for Possible to save a list template and maintain lookup relationships? Steps Download the "Template.stp" file from "List Templates" after Save. Rename the file and change the extension of ...
user avatar
2 votes

SharePoint 2010 Save list as a template having size more than 500 MB

You cant increase more than 500MB as there is limitation of MaxTemplateDocumentSize "A 32-bit integer between 0 and 500 MB." Below script increase it to 500 MB. Add-PSSnapin Microsoft.SharePoint....
user avatar
  • 56.7k
2 votes

Task List Template is not visible on Add an app

Please ensure that the Team Collaboration Lists Feature is activated for the site. You may do so by following the below steps - Go to Site Actions -> Site Settings -> Under Site Actions section, ...
user avatar
  • 1,008
2 votes
Accepted

Event Receiver subscribing to Custom Document Library Template

Yes, you can do it through ListTemplateID on the event receiver and use the number you specified in the Type attribute in your list template declaration. So for instance if your list template looks ...
user avatar
  • 12.1k
2 votes

Managing list templates

No. If you create a list from a template on a site, and then later delete the template, your list will be unaffected. There is no cascading deletion behavior that will delete your list, so your list ...
user avatar
  • 548
2 votes
Accepted

SharePoint Online - limit apps / lists available

You can disable list templates by using PowerShell command: Set-SPOTenant -DisableModernListTemplateIds '<template ID>' Where the template ID is: Issue tracker: 'C147E310-FFB3-0CDF-B9A3-...
user avatar
  • 27.7k
1 vote
Accepted

Feature name needed

You can get it using PowerShell and the next code: Get-SPFeature | Sort -Property Scope,DisplayName | FT -GroupBy Scope DisplayName,Id > c:\file.txt Greetings :)
user avatar
  • 1,034
1 vote
Accepted

how to copy list from one sitecollection to another sitecollection

you can use the SharePoint designer and create a workflow to copy the lists item from source to destination. Copy item from one list to another, using Sharepoint designer workflow and also check this ...
user avatar
  • 56.7k

Only top scored, non community-wiki answers of a minimum length are eligible