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 ...
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 ...
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 ...
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.
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 ...
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 ...
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 ...
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["...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 "...
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 ...
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 > ...
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)
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 ...
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
...
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 ...
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 ...
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....
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, ...
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 ...
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 ...
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-...
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 :)
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
list-template × 162list × 41
2010 × 22
sharepoint-online × 21
document-library × 18
2013 × 17
sharepoint-enterprise × 15
powershell × 11
custom-list × 11
feature × 8
list-definition × 8
sharepoint-server × 7
csom × 7
sharepoint-foundation × 6
client-object-model × 6
content-type × 6
template × 6
development × 5
infopath × 5
list-view × 5
2007 × 4
modern-experience × 4
site-template × 4
splist × 4
sharepoint-designer × 3