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.

learn more… | top users | synonyms

9
votes
1answer
12k 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 ...
6
votes
3answers
4k 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
392 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 ...
6
votes
2answers
983 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 ...
5
votes
5answers
16k 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 ...
5
votes
0answers
22 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
4answers
7k 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
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 ...
4
votes
1answer
76 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 ...
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
4answers
5k 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 ...
3
votes
2answers
2k 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 ...
3
votes
2answers
399 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 ...
3
votes
1answer
233 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 ...
3
votes
1answer
2k 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
1answer
6k 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. ...
3
votes
2answers
3k 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
7k 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
927 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 ...
2
votes
3answers
5k 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
943 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
851 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
3k 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)
2
votes
2answers
7k 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 ...
2
votes
1answer
1k 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
2answers
301 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
2
votes
2answers
767 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 ...
2
votes
1answer
260 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) ...
2
votes
1answer
1k 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
240 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 ...
2
votes
2answers
407 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
371 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 ...
2
votes
2answers
3k views

Why would Document Library templates not show in create view?

We recently upgraded from SharePoint 2007 to 2010. There are a number of customization we made in the environment, and it seems that something is causing a problem when a user tries to create a ...
2
votes
3answers
980 views

Binding lookup fields to document library template

I have features that define site content types and a document library template that uses these content types. Now, when I create a document library from the template, all the content types appear ...
2
votes
1answer
5k views

How to handle 'Feature for list template is not installed in this farm' for custom lists

I have a feature in which I have a custom ListDefinition. Within the definition, I also have a ListInstance based off of the definition. When installing and activating the feature, these lists are ...
2
votes
1answer
226 views

List templates strange behavior after upgrade to 2010

We upgraded our MOSS2007 to MSS2010 (database attach upgrade method). When we save a library as a template and create a new library based on that template, it works. However, when we add documents to ...
2
votes
0answers
61 views

how to manage sub sites that have been created using a template in a centralize way

I am facing problems in understanding how i should be managing sub sites that have been created using a template. now i have followed the following process :- I created a new sub site (the sub site ...
2
votes
0answers
27 views

list from list template doesn't get its custom view

in C#/VS2013 I created a List Template with a custom view, set as default. An event receiver creates a new List based on that List Template, but the newly created List doesn't use the custom view. ...
2
votes
0answers
49 views

How to speed up saving a list as template

I want to save a library as a template. For this I use the following PowerShell code $id = [Guid]::NewGuid() $templateName = [String]::Format("{0}-{1}",$list.Title,$id.ToString()); ...
2
votes
0answers
775 views

Error creating site from site definition - no document templates

I'm hoping you can help me out with a problem I'm experiencing. I have developed a custom site definition. The site contains 2 document libraries (Correspondence and Documents) and a list (Records). ...
2
votes
1answer
608 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 ...
2
votes
3answers
2k 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 ...
1
vote
2answers
1k 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 ...
1
vote
2answers
605 views

Physical location of library template

I have a Document Library template that I need to move from my Dev environment to my Prod environment. I looked all over the 14 hive and in the site in SP Designer for this file, but could not find ...
1
vote
1answer
47 views

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

currently I'm developing a SharePoint solution for a customer, which contains the following: A custom field type Two content types (one containing lookup fields to the list which is using the other ...
1
vote
1answer
255 views

Document Template with Managed Metadata Across Site Collections

We have a Document Template that has several managed metadata fields. We would like to use this template across several (50+) site collections. However, we get the following error when we try to ...
1
vote
1answer
486 views

Migrating discussion board between site collections

In our sharepoint (where I can only access the client, nothing from the server) we switched (or had to switch) from one site collection to another on another server. The two servers are running under ...
1
vote
1answer
861 views

Declarative (CAML) BusinessData field

I am trying to create a List template definition declaratively (using CAML) which includes a External Data column and several secondary columns. I created a custom list via the UI and exported the ...
1
vote
2answers
1k views

Associate workflow with list template

We have workflow which enables creator of list item to edit it later. Is it possible to associate workflow with certain list templates, so when user creates new instance of such list, workflow is ...