locked
sharepoint list as template RRS feed

  • Question

  • I would like to use list as a template.I have a list which consists of a calendar and a couple of Content Editor web parts
    I can export the whole list to a .cmp file but I would like to be able to import it to the same site as a different named list but when I do import it (by using with Powershell) it just overwrites the existing list.

    Friday, December 9, 2011 11:07 PM

All replies

  • Hi,

    Is it a list or a page carrying these webparts?

    Share the script you are using so that we will get the clear idea of what you are doing.


    Thanks, Rahul Rashu
    Saturday, December 10, 2011 3:02 AM
  • I have edited a list which just contained a calendar and I have added some Content editor web parts (So I could get coloured calendar entries and add text etc.)

    Here is the powershell command I am using to import the list after I have exported it successfully.

    Import-SPWeb –Identity http://lcshare01/Calendar -Path c:\temp\cal1.cmp -includeusersecurity –force

    It overwrites what is there already. I would like it to make a copy instead.
    Wednesday, December 14, 2011 2:04 PM