Problem
STP list templates uploaded using a feature are not available to instantiate on create.aspx

Solution
When you upload a list template (STP) using a feature to the list template gallery ( _catalogs/lt ), you must set some attributes in order for the template to show up on the create.aspx page-

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <Module Url="_catalogs/lt" Name="PS.AACP.Stp" Path="">
        <File Url="StpTest.stp" Type="GhostableInLibrary" IgnoreIfAlreadyExists="TRUE">
           <Property Name="Title" Value="StpTest" />
           <Property Name="Language" Value="1033" />
           <Property Name="FeatureID" Value="{D90095AD-86D4-4e55-AE28-119E21530552}" />
        </File>
    </Module>
</Elements>

Tagged with:
 

One Response to STP uploaded by feature doesn’t appear on create page

  1. [...] use this method to upload the file to the list template [...]

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Set your Twitter account name in your settings to use the TwitterBar Section.