More than one mandatory aspect for the Custom Type

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2012 12:47 AM
Hi
For a Custom Document Type, can it have more than one mandatory aspect, how much aspects can I add as mandatory in the created custom document type.
How could I add it, should I add like this
Guidance and advice requested
Thanks
Joseph John
For a Custom Document Type, can it have more than one mandatory aspect, how much aspects can I add as mandatory in the created custom document type.
How could I add it, should I add like this
<mandatory-aspects><aspect>cm:generalclassifiable</aspect><aspect>sc:webable</aspect><aspect>sc:productRelated</aspect></mandatory-aspects>
or should I add it like <mandatory-aspects><aspect>cm:generalclassifiable</aspect></mandatory-aspects><mandatory-aspects><aspect>sc:webable</aspect></mandatory-aspects><mandatory-aspects><aspect>sc:productRelated</aspect></mandatory-aspects>
Guidance and advice requested
Thanks
Joseph John
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2012 01:07 AM
Did not get a error, Since I did not get the error I assume that this the way to add multiple mandatory aspects to the Custom Types.<mandatory-aspects><aspect>cm:generalclassifiable</aspect><aspect>sc:webable</aspect><aspect>sc:productRelated</aspect></mandatory-aspects>
If I am wrong or If any better way is there please guide me
thanks
Joseph John
