Skip to main content
Notice removed Draw attention by CommunityBot
Bounty Ended with no winning answer by CommunityBot
Tweeted twitter.com/StackSharePoint/status/872444569257955328
added 243 characters in body
Source Link
Tiago Duarte
  • 5.5k
  • 2
  • 22
  • 44

I have several content types based on Folder with a couple of fields.

Some of them are experiencing some strange behavior.

The fields are there, and the data is being saved, because I can see them on the list and I can add them to the view fields, but I cannot see them in the display, edit or new forms.

I have compared the schema from a working CT and a non working CT and the difference is the part below.

The properties ShowInDisplayForm and so on are set to True on all areas.

<XmlDocuments>
<XmlDocument NamespaceURI="Microsoft.SharePoint.Taxonomy.ContentTypeSync">
<SharedContentType xmlns="Microsoft.SharePoint.Taxonomy.ContentTypeSync" SourceId="de887f88-4a24-49db-a549-4c3cbb517053"ContentTypeId="0x012000C4E4F4EFD38B4D22A27980EC6169922F00041800E9838240F28E71F34D72B255C8" PreviousValue="false"/>
</XmlDocument>
<XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
<FormTemplates xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
<Display>ListForm</Display>
<Edit>ListForm</Edit>
<New>ListForm</New>
</FormTemplates>
</XmlDocument>
</XmlDocuments>

In my schema I just have the content type id, name and field refs. Not sure if I need anything else like the above, and I wonder why it works for some content types just not others (perhaps the others were manually added). enter image description here

enter image description here

UPDATE:

Creating a new form for the library/content type shows the missing fields.

I would like to fix the underlying issue, rather than creating new forms, also because Upload.aspx is experiencing the same behavior and since I am in a position where I can delete the libraries and content types and redeploy the solution.

I have several content types based on Folder with a couple of fields.

Some of them are experiencing some strange behavior.

The fields are there, and the data is being saved, because I can see them on the list and I can add them to the view fields, but I cannot see them in the display, edit or new forms.

I have compared the schema from a working CT and a non working CT and the difference is the part below.

The properties ShowInDisplayForm and so on are set to True on all areas.

<XmlDocuments>
<XmlDocument NamespaceURI="Microsoft.SharePoint.Taxonomy.ContentTypeSync">
<SharedContentType xmlns="Microsoft.SharePoint.Taxonomy.ContentTypeSync" SourceId="de887f88-4a24-49db-a549-4c3cbb517053"ContentTypeId="0x012000C4E4F4EFD38B4D22A27980EC6169922F00041800E9838240F28E71F34D72B255C8" PreviousValue="false"/>
</XmlDocument>
<XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
<FormTemplates xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
<Display>ListForm</Display>
<Edit>ListForm</Edit>
<New>ListForm</New>
</FormTemplates>
</XmlDocument>
</XmlDocuments>

In my schema I just have the content type id, name and field refs. Not sure if I need anything else like the above, and I wonder why it works for some content types just not others (perhaps the others were manually added). enter image description here

enter image description here

I have several content types based on Folder with a couple of fields.

Some of them are experiencing some strange behavior.

The fields are there, and the data is being saved, because I can see them on the list and I can add them to the view fields, but I cannot see them in the display, edit or new forms.

I have compared the schema from a working CT and a non working CT and the difference is the part below.

The properties ShowInDisplayForm and so on are set to True on all areas.

<XmlDocuments>
<XmlDocument NamespaceURI="Microsoft.SharePoint.Taxonomy.ContentTypeSync">
<SharedContentType xmlns="Microsoft.SharePoint.Taxonomy.ContentTypeSync" SourceId="de887f88-4a24-49db-a549-4c3cbb517053"ContentTypeId="0x012000C4E4F4EFD38B4D22A27980EC6169922F00041800E9838240F28E71F34D72B255C8" PreviousValue="false"/>
</XmlDocument>
<XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
<FormTemplates xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
<Display>ListForm</Display>
<Edit>ListForm</Edit>
<New>ListForm</New>
</FormTemplates>
</XmlDocument>
</XmlDocuments>

In my schema I just have the content type id, name and field refs. Not sure if I need anything else like the above, and I wonder why it works for some content types just not others (perhaps the others were manually added). enter image description here

enter image description here

UPDATE:

Creating a new form for the library/content type shows the missing fields.

I would like to fix the underlying issue, rather than creating new forms, also because Upload.aspx is experiencing the same behavior and since I am in a position where I can delete the libraries and content types and redeploy the solution.

Notice added Draw attention by Tiago Duarte
Bounty Started worth 50 reputation by Tiago Duarte
added 85 characters in body
Source Link
Tiago Duarte
  • 5.5k
  • 2
  • 22
  • 44

I have several content types based on Folder with a couple of fields.

Some of them are experiencing some strange behavior.

The fields are there, and the data is being saved, because I can see them on the list and I can add them to the view fields, but I cannot see them in the display, edit or new forms.

I have compared the schema from a working CT and a non working CT and the difference is the part below.

The properties ShowInDisplayForm and so on are set to True on all areas.

<XmlDocuments>
<XmlDocument NamespaceURI="Microsoft.SharePoint.Taxonomy.ContentTypeSync">
<SharedContentType xmlns="Microsoft.SharePoint.Taxonomy.ContentTypeSync" SourceId="de887f88-4a24-49db-a549-4c3cbb517053"ContentTypeId="0x012000C4E4F4EFD38B4D22A27980EC6169922F00041800E9838240F28E71F34D72B255C8" PreviousValue="false"/>
</XmlDocument>
<XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
<FormTemplates xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
<Display>ListForm</Display>
<Edit>ListForm</Edit>
<New>ListForm</New>
</FormTemplates>
</XmlDocument>
</XmlDocuments>

In my schema I just have the content type id, name and field refs. Not sure if I need anything else like the above, and I wonder why it works for some content types just not others (perhaps the others were manually added). enter image description here

enter image description hereenter image description here

I have several content types based on Folder with a couple of fields.

Some of them are experiencing some strange behavior.

The fields are there, and the data is being saved, because I can see them on the list and I can add them to the view fields, but I cannot see them in the display, edit or new forms.

I have compared the schema from a working CT and a non working CT and the difference is the part below.

The properties ShowInDisplayForm and so on are set to True on all areas.

<XmlDocuments>
<XmlDocument NamespaceURI="Microsoft.SharePoint.Taxonomy.ContentTypeSync">
<SharedContentType xmlns="Microsoft.SharePoint.Taxonomy.ContentTypeSync" SourceId="de887f88-4a24-49db-a549-4c3cbb517053"ContentTypeId="0x012000C4E4F4EFD38B4D22A27980EC6169922F00041800E9838240F28E71F34D72B255C8" PreviousValue="false"/>
</XmlDocument>
<XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
<FormTemplates xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
<Display>ListForm</Display>
<Edit>ListForm</Edit>
<New>ListForm</New>
</FormTemplates>
</XmlDocument>
</XmlDocuments>

In my schema I just have the content type id, name and field refs. Not sure if I need anything else like the above, and I wonder why it works for some content types just not others (perhaps the others were manually added).

enter image description here

I have several content types based on Folder with a couple of fields.

Some of them are experiencing some strange behavior.

The fields are there, and the data is being saved, because I can see them on the list and I can add them to the view fields, but I cannot see them in the display, edit or new forms.

I have compared the schema from a working CT and a non working CT and the difference is the part below.

The properties ShowInDisplayForm and so on are set to True on all areas.

<XmlDocuments>
<XmlDocument NamespaceURI="Microsoft.SharePoint.Taxonomy.ContentTypeSync">
<SharedContentType xmlns="Microsoft.SharePoint.Taxonomy.ContentTypeSync" SourceId="de887f88-4a24-49db-a549-4c3cbb517053"ContentTypeId="0x012000C4E4F4EFD38B4D22A27980EC6169922F00041800E9838240F28E71F34D72B255C8" PreviousValue="false"/>
</XmlDocument>
<XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
<FormTemplates xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
<Display>ListForm</Display>
<Edit>ListForm</Edit>
<New>ListForm</New>
</FormTemplates>
</XmlDocument>
</XmlDocuments>

In my schema I just have the content type id, name and field refs. Not sure if I need anything else like the above, and I wonder why it works for some content types just not others (perhaps the others were manually added). enter image description here

enter image description here

Source Link
Tiago Duarte
  • 5.5k
  • 2
  • 22
  • 44

Fields missing from folder content types

I have several content types based on Folder with a couple of fields.

Some of them are experiencing some strange behavior.

The fields are there, and the data is being saved, because I can see them on the list and I can add them to the view fields, but I cannot see them in the display, edit or new forms.

I have compared the schema from a working CT and a non working CT and the difference is the part below.

The properties ShowInDisplayForm and so on are set to True on all areas.

<XmlDocuments>
<XmlDocument NamespaceURI="Microsoft.SharePoint.Taxonomy.ContentTypeSync">
<SharedContentType xmlns="Microsoft.SharePoint.Taxonomy.ContentTypeSync" SourceId="de887f88-4a24-49db-a549-4c3cbb517053"ContentTypeId="0x012000C4E4F4EFD38B4D22A27980EC6169922F00041800E9838240F28E71F34D72B255C8" PreviousValue="false"/>
</XmlDocument>
<XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
<FormTemplates xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
<Display>ListForm</Display>
<Edit>ListForm</Edit>
<New>ListForm</New>
</FormTemplates>
</XmlDocument>
</XmlDocuments>

In my schema I just have the content type id, name and field refs. Not sure if I need anything else like the above, and I wonder why it works for some content types just not others (perhaps the others were manually added).

enter image description here