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

7
votes
1answer
7k 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
2answers
2k 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
165 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
670 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
8k 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 ...
3
votes
3answers
5k 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?
3
votes
2answers
353 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
1k 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
1k 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 ...
3
votes
2answers
2k 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
3answers
961 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
522 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
838 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
4answers
3k 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 ...
2
votes
2answers
223 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
5k 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
361 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
4k 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 ...
2
votes
2answers
198 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
111 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
850 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
2answers
247 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
2answers
2k 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
740 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
2k 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
219 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
15 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 ...
2
votes
0answers
43 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()); ...
1
vote
3answers
1k 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 ...
1
vote
2answers
388 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
2answers
316 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)
1
vote
1answer
178 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
259 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 ...
1
vote
1answer
637 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
1answer
523 views

custom rendering template

Help! In MOSS 2007 how do you make a custom newform/editform.aspx for a particular sharepoint list call a custom rendering template with custom code-behind logic? In particular how do you override ...
1
vote
4answers
2k views

<ViewFields> definition ignored on list instance deployment?

I've got a custom site definition with a list definition + list instance in it. In the schema.xml for the list, I tried adding multiple views for the list. The problem I have is that although the ...
1
vote
3answers
3k views

Problem deploying list template (stp-file) by feature

I have a List template (a stp-file). If I upload it to the list gallery through the UI, it is uploaded and I can create lists based on that template file in the same site. However, if I bundle it in ...
1
vote
0answers
23 views

One script for several views in a templated custom list

I have a custom list (MOSS/SharePoint 2007), and several views (around 7). Now I would like to know if it's possible to apply a script through a CEWP for all the views, without add a webpart, select a ...
1
vote
0answers
98 views

How to create a linked data source with document libraries based on the same template?

I'm using SharePoint Foundation 2013 and I use SP Designer and Visual Studio 2013 to my needs. But there are several things which i don't get. I have a number of libraries which use the same ...
1
vote
1answer
196 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 ...
1
vote
1answer
47 views

how to propagate changes to all lists created from a custom template list

This might be an easy question to answer but I'm still new to SharePoint 2010. Here's my problem. I created a custom list that is used as a template, and I have a handful of lists that were created ...
1
vote
0answers
459 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). ...
1
vote
0answers
484 views

How to update a Sharepoint 2010 list via an Infopath 2010 client form via a 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 ...
1
vote
2answers
973 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
1answer
530 views

Errors migrating from custom list with SharePoint 2010 upgrade

In MOSS we exposed a custom list definition to users instead of the Shared Documents library. Now, we are trying to convert all those list instances to use the out of the box list. It seems that ...
1
vote
0answers
368 views

Folder Content type gets lost when using a list template

I created a new folder content type that has several columns of data and then created some folders in a list using the content type. I then created a list template and included content. When I created ...
0
votes
2answers
76 views

Get SP.ListTemplateType enum value using JSOM

I am trying to create a new list (based on a dropdown menu selection) using JavaScript Client Side Object Model. var typeList = "SP.ListTemplateType." +listTemplateType; ...
0
votes
5answers
5k views

Export List in SharePoint 2007 to List in SharePoint 2010

I have a SharePoint 2007 list that I want to copy over to an existing SharePoint 2010 list. Both of them have the exact same columns. What is the best way to do this? I tried opening both of them in ...
0
votes
2answers
793 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 ...
0
votes
2answers
6k views

Non-supported field type change

I am having a problem with a custom site column in SP2007, whose field type recently changed. I have defined features for the following artifacts, which are deployed at the site collection scope: A ...