How to provision List Templet (.stp) to list templete gallery and create instance of list based on uploaded stp trough Feature



    Hi, i have couple of  things need to achive using feature.


    I have a feature which provisions a .stp file to list templete gallery.

    here is the  element manifest file xml snippet

    <Elements xmlns="">

    <Module Name="addressList" List="114" Url="_catalogs/lt" >

    <File Path="Liststp" Url="address.stp" Type="GhostableInLibrary" />





    The .stp file gets added to the List Templete gallery, when i go to create new List in the site, there is no link to create the list based on my list templete(.stp) uploaded through the feature.



    I need to create new list based on the uploaded list templete through feature.

    I am able to create new instance of the out of the box list by specifying the following xml in the elemet manifest file of feature.

    <Elements xmlns="">

    <ListInstance  Id="customlist" Title="Address"

    Description="List provisened though feature"

    TemplateType="100" Url="Lists/CustomList">




    But i want to create List based on my uploaded list templete. Is it possible to create list instance based on my uploaded stp through feature?



    Thursday, March 20, 2008 12:00 PM

All replies