1

As title says, I have added a Site Column to an extisting Site Content Type. When looking at an item (it happens to be a page) that is of that content type, I can't see the new field. By 'looking at', I'm checking through the OOTB 'View Properties' dialog.

Any idea why this content type may not be updating?

Is there a timer job that is responsible for this?

Note: This site does not use a content type hub of any sort.

2

You would need to do SPContentType.Update(true) or go to site content type and select your content type -> Advanced Setttings and select 'update all content types inheriting' and click OK.

1

Removed and added through PowerShell - still don't understand why it wasn't working:

http://www.c-sharpcorner.com/uploadfile/anavijai/how-to-add-the-existing-site-column-to-the-content-type-in-sharepoint/

  • Really? Is this the only way? Remove the content type and add it again? Will I lose data already existing in the list(s)? – bgmCoder Mar 6 '17 at 17:56
  • I tried to delete it from the UI, but "Sorry, something went wrong; Content Type is still in use". I'll try it from powershell and see if the data is retained. – bgmCoder Mar 6 '17 at 18:04
  • Nah, the script in the link is how to add an existing site column to a content type. The column already exists in the content type - why would you add it? – bgmCoder Mar 6 '17 at 18:07
  • And if you are doing this in Sharepoint Online, just FYI, you can't use get-spsite - but the question wasn't tagged with a version. – bgmCoder Mar 6 '17 at 18:08
1

Did you check if the Site Column in the Content Type is set to hidden? That would explain why it's not visible in forms.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.