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
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 ...
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(...
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 ...
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 ...
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 ...
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
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
814 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 ...
0
votes
5answers
7k 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 ...
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 ...
4
votes
1answer
981 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....
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
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/...
1
vote
1answer
1k views

Keep JS Link when adding a list as a webpart

I've discovered a strange behavior. I've generated a list which I customized a lot among other things using a .js file which I added to the JSLink field of the web part. The list is working ...