Community forums
Forum Navigation
You need to log in to create posts and topics.
Provisioning a List With More Than One Content Type
December 23, 2019, 10:22 am
December 30, 2019, 8:09 am
Quote from Brad Steele on December 23, 2019, 10:22 amWhen provisioning a list in your site definition you may find that you would want to use more than one content type in order to get all of the fields you need. This is possible by including all necessary content types in your "contentType" attribute within your list definition node. The last content type you include will be your default.
For example...
<list name="MyFancyList" noCrawl="TRUE" contentType="AkuminaLanguage,MyCustomContentType,MoreContentType"></list>
When provisioning a list in your site definition you may find that you would want to use more than one content type in order to get all of the fields you need. This is possible by including all necessary content types in your "contentType" attribute within your list definition node. The last content type you include will be your default.
For example...
<list name="MyFancyList" noCrawl="TRUE" contentType="AkuminaLanguage,MyCustomContentType,MoreContentType"></list>
Quote from Scott Kearney on December 30, 2019, 8:09 amThanks brad!
Thanks brad!