You packaged stp list template that you created using “Save as template” feature. Say, it is custom Task list, or Link list.
You added this STP file to your Visual Studio solution, all legit:
<?xml version=”1.0″ encoding=”utf-8″?>
<Module Name=”ListTemplates” Path=”ListTemplates” Url=”_catalogs/lt”>
<File Path=”Mycustomtasks.stp” Url=”Mycustomtasks.stp” Type=”GhostableInLibrary” IgnoreIfAlreadyExists=”TRUE”>
<Property Name=”Title” Value=”Tools”></Property>
<Property Name=”Language” Value=”1033″></Property>
You deploy solution to a new site, it is very ofter Publishing Portal site. You see a new template on a list in List templates gallery. But this template is not visible when you try to create a list out of it.
OK, the main reason it is not working is because you don’t have Team Collaboration lists web feature activated on your site.
You activate the feature but list templates are still missing.
This is because of the fact that you acted in the wrong order. You should have Team Collaboration lists already activated at the time you activate your custom feature. If it is not a case, your list template will miss two important attributes – FeatureId and ProductVersion. This will cause this template to be broken so you can’t use it.
To fix it:
- Activate Team Collaboration Lists web feature
- Delete your list template from your site
- Reactivate your custom feature
After that your list template your appear with all necessary attributes and will be available for list (OK, call it an APP, Microsoft, but it is still just skunky list!) creation