Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sharepoint - Field appears twice on View / New Item

I have a problem in a SharePoint list - some fields appear twice on the Display form, New Item form and on the list settings page. Both fields have the same ID and the same property page (same URL), so hiding one hides the other.
Using SharePoint Manager I can only see one field, but maybe I looked at the wrong places? Has anyone experienced something similar, and how can I solve this issue?

like image 548
Kobi Avatar asked Jun 10 '09 08:06

Kobi


3 Answers

i got the same issue,after adding column in list definition, they starts appearing twice in new/edit/view item forms. I just changed the column ordering in list settings and the problem was solved.

like image 171
Dheeraj Bhateja Avatar answered Oct 29 '22 22:10

Dheeraj Bhateja


Yepp, I´ve had those problems working with contenttypes added to lists. When I´ve made updates on the contenttypes somehow the I have sometimes gotten duplicates. When I have looked at them they seem to be the same Ids and Names but the id is actually different.

The solution that I´ve used (works with contenttypes at least) is to compare the fieldlinks on the site contenttypes with the fieldlinks in the actual xml file (feature) that contains the contenttype. If they are not the same number of fieldlinks...take actions to remove the duplicates.

like image 21
Johan Leino Avatar answered Oct 29 '22 21:10

Johan Leino


It is not wise to update the xml that creates the content type. If you want to add fields later on to the content type, do it through a new feature, see this link.

MSDN Article

Note the following text

Under no circumstances should you update the content type definition file for a content type after you have installed and activated that content type. Windows SharePoint Services does not track changes made to the content type definition file. Therefore, you have no method for pushing down changes made to site content types to the child content types. For information about best practices when making changes to content types that have been installed and activated, see Updating Content Types.

like image 36
Colin Avatar answered Oct 29 '22 21:10

Colin