You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After assigning content type to list (actually sharepoint creates new list scoped content type based of the first one) its unable to rename it. (or assign new name while adding the link.
example:
varbaseContentType=newContentTypeDefinition(){**Name="Site scoped content type**",Id=newGuid("89a9424f-25ab-411c-9001-afbf5291b78a"),ParentContentTypeId=BuiltInContentTypeId.Item,Group="Test group"};web.AddList(lstProjectJoural, list =>{list.AddContentTypeLink(newContentTypeLinkDefinition{ContentTypeId=baseContentType.GetContentTypeId(),**ContentTypeName="Descendant list scoped content type"**})});
The text was updated successfully, but these errors were encountered:
Not at the moment, renaming content type within a list isn't supported yet.
First of all, can't see this feature being popular or demanded.
Secondly, it would be a bit confusing within SPMeta2 usage - first we'd need to add a content type, and then add another definition or something to rename it. Another way around is to update the name is only it was resolve by ID.. but in this case, we wouldn't know if it was a resolution by Name or ID. Becomes confusing and might potentially raise tons of unexpected errors.
After assigning content type to list (actually sharepoint creates new list scoped content type based of the first one) its unable to rename it. (or assign new name while adding the link.
example:
The text was updated successfully, but these errors were encountered: