cancel
Showing results for 
Search instead for 
Did you mean: 

get aspects from a type

jevr
Champ in-the-making
Champ in-the-making
I need to get aspects from a type with dictionaryService or other service, for example:

<type name="prefix:documentType">
   <parent>prefix:doc</parent>
   <mandatory-aspects>
      <aspect>prefix:generalData</aspect>
      <aspect>prefix:specificData</aspect>
   </mandatory-aspects>         
</type>   

the aspects contains diferent properties, my question is, can i get the aspects from a this specific type?
2 REPLIES 2

afaust
Legendary Innovator
Legendary Innovator
Hello,

yes, you can get the mandatory aspects from the type definition. The operation should be called "getDefaultAspects".

Regards
Axel

jevr
Champ in-the-making
Champ in-the-making
thanks for your help!