Duplicate Entries in ViewLsts.aspx SharePoint

SharePoint allows you to create custom list definitions and deploy them as Features.  Here are a couple of blog entries that talk about the steps you will need to take to create a custom list definition



However when following these instructions, I noticed that my custom lists were appearing twice in the ViewLsts.aspx page



After hours of debugging I found the cause of this issue.  In your list definition file, confirm that you have only one view with the “DEFAULTVIEW=TRUE” attribute set.  If you have multiple views with this attribute set, you will see an entry in the ViewLsts.aspx page for each view that you have specified as the Default.

Removing this attribute and re-activating the feature helped fix this issue

%d bloggers like this: