I'm tring to change the content type name of a specified List.
I have a Content Type called (for example) ExampleCT that I change from Site Settings in "Example CT" pushing down changes to childer.
In half of Lists that uses that particular CT now the name is "Example CT" and in other lists the name remains "Example CT".
I tried in many way to "Rename" the Content Typein order I try to:
- Rename the Content Type getting it from the Web (web.ContentType)
- Rename the Content Type getting it from the List (list.ContentTypes)
- Rename the Content Type getting it from the RootFolder (list.RootFolder.ContentTypeOrder)
The operation is simply:
myCT.Name = "Example CT";
In each case I tried to update:
- Web
- List
- Content Type (Update, Update(true), Update(false), UpdateIncludingSealedAndReadOnly(true))
- RootFolder
But the name remain "ExampleCT".
Any suggestion? Thank you!