cancel
Showing results for 
Search instead for 
Did you mean: 

More than one mandatory aspect for the Custom Type

bisana
Champ on-the-rise
Champ on-the-rise
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

<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
1 REPLY 1

bisana
Champ on-the-rise
Champ on-the-rise
<mandatory-aspects>
<aspect>cm:generalclassifiable</aspect>
<aspect>sc:webable</aspect>
<aspect>sc:productRelated</aspect>
</mandatory-aspects>
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.
If I am wrong or If any better way is there please guide me
thanks
Joseph John