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
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 >
<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>
No comments:
Post a Comment