0

I have made two custom list templates for 2013 and I want to create lists using those templates Dynamically. Something like using a page in which I choose the name and description of the custom list and create it.

I have no clue on how to write the code.

If this is not possible, can I create an Empty Custom List and Copy its file and rename-it?

What should I do, any suggestions?

  • 1
    Why do you want to use REST/custom code? Are you not able to create new list using the custom template from "Add an app" option? – Ganesh Sanap Jan 10 at 10:53
  • I want to have a simple textbox in which the user writes a name (let's say, "Model1"). Then, I add that name inside a list (a "MODELS List") and create two more lists: Model1_Template_1 and Model1_Template_2 Dinamically. – user2148732 Jan 11 at 11:30
0

Simply Create two links linking to Create App choice under Web Content:

https://company.sharepoint.com/_layouts/15/addanapp.aspx?#qry=CUSTOM

where CUSTOM is title of the created Template

Here from the list can user which have appropriate permissions create new List or Library from these templates.

or you can create link directing exactly to creating new App:

  1. Open SharePoint in Chrome
  2. Go to Site Content > Add an App > Choose your template
  3. When Pop-Up window with Pick a Name and Advanced Options, right-click on this Pop-Up Window and select View Frame Source
  4. Copy URL from Address bar - https://company.sharepoint.com/_layouts/15/new.aspx?FeatureId=%7B00bfea71-de22-43b2-a848-c05709900100%7D&ListTemplate=100&IsDlg=1
  5. You can use it in IFrame or as Link for creating selected Template on this Site

It will looks like: enter image description here

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.