Sunday, September 29, 2013

Custom list template error

While developing a custom List Template, following error message can be displayed after deployment. "Unable to find default edit form for

This error typically display if you customize your list template using OOB SharePoint 'Save as List Template' option, and later use Schema.xml file in Visual Studio List Template project.

To Fix, search for '< Forms >' tag and add following xml, just before "< Views >" tag


<Forms>
      <Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main"></Form>
      <Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main"></Form>
      <Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main"></Form>
</Forms>





Error: unable to customize local term store

While linking existing column to a local Metadata term store. Following error generated.

To fix this issue, 
1) Select Managed Metadata service from Central Admin
2) Click on 'Properties' from ribbon
3) select "This service application is the default storage location for column specific term sets"
4) ok