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?

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

  • How does that answer my question?? – SharePoint Freak Sep 6 '14 at 15:05
  • It surely answered one of the two questions in your post quite clearly! – Robert Lindgren Sep 6 '14 at 16:22

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.