0

I have seen an implementation of SharePoint list definition, where the developer declared the definition of the content type again inside the list definition, when I asked him why it's like that, he said that it's better in case if the content type on the site was change or the structure was changed, this won't affect the content type in the list.

But wouldn't changing the content type in the site and choosing update child content types will change the content type inside the definition as well? So what's the use of declaring it again?

1 Answer 1

0

"But wouldn't changing the content type in the site and choosing update child content types will change the content type inside the definition as well?"

Yes. It would.

"So what's the use of declaring it again?"

You probably saw List Schema - schema.xml. You can read more about it here: http://msdn.microsoft.com/en-us/library/office/aa543477(v=office.15).aspx

More on Content Types and Content Type Definition:

http://msdn.microsoft.com/en-us/library/office/ms463016(v=office.14).aspx http://msdn.microsoft.com/en-us/library/office/ms463449(v=office.15).aspx

2
  • How does that answer my question?? Sep 6, 2014 at 15:05
  • It surely answered one of the two questions in your post quite clearly! Sep 6, 2014 at 16:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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