You are here

getAllClassificationAspects

getAllClassificationAspects() gets all the aspects that define a classification. An array of aspect QNames in prefix:localName form is returned.

Returns

Returns an array of strings representing aspects as QNames.

Example

    model.aspects = classification.getAllClassificationAspects();    
      

The previous code would return aspects such as cm:taggable, cm:generalclassifiable, cm:classifiable.

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.