Wednesday, May 28, 2014

Feature id not assigned when saving a list as a template

It's pretty obvious that you will use List template to create similar list as you have created earlier within your share point environment .

During the course of action of saving a list template and uploading to List template Gallery and creating list from template , you notice template name is from missing from Libraries or custom list.

So if you check List template under galleries you will also find feature id is missing for this template.



This issue occurs due to ParserEnabled property is set to false for web application 

Use power shell script to resolve this issue

[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
$siteurl="http://Your Site name/default.aspx"
$site=new-object Microsoft.SharePoint.SPSite($siteurl);
$web=$site.openWeb();
$web.ParserEnabled = $true
$web.update();
$web.Dispose();
$site.Dispose();


Remove list template and upload again and you should be able to see feature ID is associated with it .

Targeted share point version MOSS 2007

More reference here.

2 comments:

  1. Hi there,

    Do you know if this property can be set via the UI? I don't have access to execute power-shell scripts.

    Thanks

    ReplyDelete
    Replies
    1. Hello ,

      Enabling or disabling Parser can not be set via UI . for more reference check MS documentation http://msdn.microsoft.com/en-us/library/aa543341(v=office.12).aspx

      Refer line " You cannot access the document properties hash table through a user interface." in the document


      Delete