1. You should copy the following line & paste on the list definition element.xml & schema.xml
then change the id(youself generated guid) in both place. Remove Overwrite="TRUE" in schema.xml only.


Continue:-
http://aasai-sharepoint.blogspot.in/2013/05/how-to-add-fieldscolumns-in-list_28.html
then change the id(youself generated guid) in both place. Remove Overwrite="TRUE" in schema.xml only.
<Field ID="{9FDF6527-1072-4751-8B15-84CA97AE7CBA}" Type="Text" Name="Name" DisplayName="User Name" Overwrite="TRUE" Required="TRUE" Sealed="TRUE"/>
Note: We should generate the ID for each fields. Menu --> Select Tools --> Create GUID --> Copy
Continue:-
http://aasai-sharepoint.blogspot.in/2013/05/how-to-add-fieldscolumns-in-list_28.html
No comments:
Post a Comment