Questions tagged [list-template]

A type of template that defines the characteristics of a SharePoint list. It defines attributes like list columns and content types, and may include content.

Filter by
Sorted by
Tagged with
13
votes
1answer
21k views

PowerShell - create list from list template in list template gallery

Using PowerShell on a SharePoint 2010 site, how can you create a new list from a list template found in the list template gallery?. I want to be able to add several lists at once (just in numerically ...
8
votes
3answers
10k views

Uploaded List templates are not available in add an app in SharePoint 2013

I have got a list template(.stp) which I have imported in my site by going to "Web Designer Galleries -> List templates" in Site Settings. After that I went to Site Contents to create a new list ...
7
votes
1answer
2k views

Get List Template ID JavaScript

I have some code that returns all of the lists in my site however I need to only get lists that are using the discussion board template and I have hit a stumbling block with this. I currently have ...
7
votes
2answers
2k views

Saving list template with managed metadata columns. Creating new list with the template.

I have a list that has several columns including managed metadata columns. I'm saving this list as a template and including all the content. I'm then taking this template to another site collection ...
6
votes
5answers
12k views

Possible to save a list template and maintain lookup relationships?

My issue is that I have two lists that I would like to move with their data. While I am able to save both as templates and then upload to the new site, none of the lookup columns in my parent table ...
6
votes
5answers
22k views

What's the best way to move a list from one site to another?

I know you can backup site collections with stsadm -o backup, and you can backup sites with stsadm -o export. But what's the best way to copy a list? I've tried to use the save as a list template and ...
6
votes
4answers
6k views

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

I have a custom list template (STP) in my list template gallery. I can retrieve the list template using the client object model in javascript. But it's not clear how to create a new list from that ...
6
votes
3answers
6k views

How to create SharePoint list with custom template using Managed Client Object Model?

Creating lists in SharePoint using Managed Client Object Model is rather easy task. Here's how to create a list with SharePoint's custom list template: ListCreationInformation lci; List list; lci = ...
6
votes
1answer
691 views

List Template showing the wrong image

I've created a list definition from a content type in Visual Studio 2010 for SharePoint 2010. They are based off a custom list. When I deploy locally, I see the correct image in View All Site Content ...
5
votes
2answers
2k views

How to modify a list's template?

I have a list that was created from a Custom List template. Most users have been interacting with it through a calendar view that was created. Now, some users would like to connect this list to their ...
5
votes
1answer
267 views

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

I have been working on my site collection on test environment. and now i want to backup the site collection and restore it inside our live server. now the only issue i have faced in this process is ...
5
votes
2answers
12k views

List does not exist Error when opening the views

I created a list template without including Content for a Document library and created a Library using that Template. But in the newly created library, lot of my views are showing the below error. ...
5
votes
0answers
187 views

Save list as template using client object model in SharePoint Online [duplicate]

Is it possible to save list as a template using CSOM? We need to create a list template every weekend in SharePoint Online. I thought of using task scheduler with a console application but could not ...
4
votes
5answers
9k views

How can I use PowerShell to upload a list template (stp file)?

I need to script the creation of data in SharePoint, and part of this requires that I upload a slide library list template using PowerShell. Is this possible?
4
votes
1answer
3k views

How to create a list template by using CSOM?

For creating a list template programmatically by using server object, I'm using the SaveAsTemplate() function. SPSecurity.RunWithElevatedPrivileges(delegate { using (SPSite oSPsite = new SPSite(...
4
votes
1answer
983 views

SharePoint Online - Create list from custom template using csom / jsom

I would like to create a list from custom template already available in the site. I tried following code - this.result = SP.ClientContext.get_current().get_site().getCustomListTemplates(SP....
4
votes
1answer
26 views

Move different lists together in MOSS 2007

I'm currently trying to move two lists together, those two lists are created on different list templates, one is an Issue Tracking list and the other is a Custom List, is it possible to move them ...
3
votes
6answers
46k views

How to use imported list template

I have got a list template (.stp) which I have imported in my site by going to "Web Designer Galleries --> List templates" in Site Settings. After that I went to Site Contents to create a new list ...
3
votes
2answers
6k views

How to check if ListTemplateType (enum) is list or library?

Is there some helper method for example in CSOM API to check if Microsoft.SharePoint.Client.ListTemplateType is a list or a library, something like IsLibrary(ListTemplateType type)
3
votes
2answers
9k views

Programmatically creating a list

I have created a new list definition following the steps listed here: http://msdn.microsoft.com/en-us/library/gg276355.aspx I can create new lists using this definition in the browser with out any ...
3
votes
2answers
423 views

Can't make a new instance of a custom document library

I am following the instructions of Cory Roth on how to create a custom document library in 2010 which can be found here http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/06/11/how-to-...
3
votes
1answer
3k views

How to determine the List Template (SPListTemplate) that was used to create a list?

I am using the following code to create a custom list from a custom list definition. Is there a way, after the list is created to determine which definition it was created from? SPListTemplate ...
3
votes
2answers
2k views

List Template does not show up in PowerShell

I have about 15 List templates in the (gallery > List templates) and none of them show up when I run following script: $web.ListTemplates | ForEach{ write-host $_.Name } I think that is the reason ...
3
votes
2answers
4k views

One Event Receiver for many lists

I have Event Receiver for document library. It is added in Elements.xml like this: <Receivers ListTemplateId="101"> I would like to use this ER for all my document libraries. Do I have to ...
3
votes
1answer
8k views

Moving large document libraries to new site collections

I have a site collection with a dozen or so document libraries in it (total size about 300GB's). The goal is to move each of these document libraries into it's own site collection (and content ...
3
votes
3answers
1k views

Is it possible to create a Multi-lingual List Definition in a SandBox

I have a sandbox solution that for the some of it I have german translations for, like the feature name and description. However to make this a proper multi-lingual solution I need to do the same for ...
3
votes
1answer
486 views

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

Is there a way to save the list as template that exceeds 500MB size in SharePoint 2010?
3
votes
1answer
4k views

How to modify the existing list template file in SharePoint

I want to modify a list template which is already created in my site collection.Once I upload the list into the template gallery it becomes a .stp file.But how to modify this again? I am having a ...
3
votes
2answers
2k views

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

Would like to know how to upload a .stp file from my D drive to my list templates gallery in my site collection using PowerShell
3
votes
1answer
304 views

Saved Template not listed

Selective sharepoint List templates are not listing as Apps that can be used (Add an App). Any clues as to why this is so? I am able to save other lists as templates and these do show up as available ...
3
votes
1answer
61 views

Add list template to my Sharepoint project and reference it with my User Control

Inside my Sharepoint 2013 project, I can create a list and then inside a different project in the same solution, I can create a list based on that template - I've found this article detailing how to ...
3
votes
2answers
817 views

Moving Document Library from one site to another - Sharepoint Online

Let me start by stating that the 2 sites are within the same Sharepoint, but not within the same Site Collection. I did not create any of the sites, nor did I perform any kind of document management ...
3
votes
1answer
145 views

Content Editor WP or Script Editor WP won't show Content when Saving List as Template

I created a List Template with a Content Editor Web Part in it and I made sure to click the "Include Content" button when I created the template but my list template does not have the Content Editor ...
3
votes
2answers
4k views

Save as List Template of document library which has 18000 documents!

I have one document library which has around 18000 documents(Total size of the all document is around 280 MB). Now I want to make list template so I go to Library Settings and then click on Save ...
3
votes
1answer
2k views

Can a list template include custom forms

I have added a webpart with a content editor on the create and edit forms of a list. When I extract the list as a list template and then apply it to a new site, it seems the list does not include the ...
3
votes
2answers
2k views

Unable to create a list from a custom list template in gallery - SharePoint Online

I have saved a list as a template including the content and now ) can see the template in the list templates as well. When I go to a sub site underneath that web and try to create an app using the ...
3
votes
1answer
2k views

Column ContentType does not exist.It may have been deleted by another user while adding/updating the list item

Need some taughts/help here. I have taken the list template from WSS 2007 and then uploaded the same to the SharePoint 2013. That too after changing the ProductVersion from 3 to 4. After the list was ...
3
votes
1answer
778 views

How to update a SharePoint 2010 list via an InfoPath 2010 client form using code?

I tried to follow in Sharepoint Server 2010 and Infopath 2010 the article: How to update a SharePoint list via an InfoPath browser form using the SharePoint Object Model which is for Sharepoint/...
3
votes
3answers
4k views

Custom list templates missing in create new list page

I am able to save a list as a template and it shows up in the list template gallery with an empty title, Product Version, and Feature ID. the language column shows up as 1033 instead of English. I ...
2
votes
3answers
8k views

2010: Custom List Template ID

I searched everywhere, but could not find a solution that worked for me. We've created a default document library, changed it a bit and saved it as a new document library template from the user ...
2
votes
3answers
1k views

Generate ListDefinition from ListTemplate

Is there a way or tool to generate list-definition projects/features from an existing list template? (Sharepoint 2010)
2
votes
2answers
1k views

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

I am trying to create a SharePoint list based on a list template via a feature. The code for creating the list is in the FeatureActivated event handler of the feature's EventReceiver.cs file. The list ...
2
votes
2answers
2k views

Difference between a content type and a list template

I understand that content type gives the definition for the set of fields in a list which can be reused while creating many other lists and a list template gets a copy of an existing list with or ...
2
votes
1answer
2k views

ContentTypRef and Schema.xml

I am studying List Definition in sharepoint 2010.I have two files one schema.xml and another elements.xml elements.xml <ContentType ID="0x0101005CF0DB5B6075417a8664EFD23835C831" Name= "...
2
votes
1answer
2k views

Can't read Enhanced Rich Text field value from CQWP

I'm trying to read the value of a multi-line, enhanced rich text field from a content query web part using a custom ItemStyle template in SP 2010. Even though it has a value, it keeps coming back as ...
2
votes
1answer
93 views

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

I have tried the following steps to move a list from root site to subsite. Go to list Setting > Save List as a template and include the contents At sub-site > Add app > create a list from this ...
2
votes
1answer
69 views

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

I've created 10 different Calculated columns in various lists in SharePoint 2013 site. I am planning to save the site as a template for future reuse. Please let me know is there any limitation for ...
2
votes
1answer
374 views

“Save List as Template” losing Filter web parts but leaving false connections?

My InfoPath form web part remembers some false connections from the past, and cannot take any new connections after Save List as Template. What I did is this: Customize Form in browser (SP2013) Edit ...
2
votes
2answers
604 views

QueryThrottleMode in non-query operations?

I have a big List which I want to empty. Therefore I create a template from that list, delete the list and create a new list from the template I just saved before. I know there are other ...
2
votes
1answer
464 views

Setting 'Display Category' for List Templates

We have a number of custom list templates which we would like to categorise in the same way as site templates. Is this possible? When selecting 'More Options' from the Site Actions menu to create a ...