3.1.2.2.3. New Authoring Mixin

Warning

You are looking at documentation for an older release. Not what you want? See the current release documentation.


<nodeType hasOrderableChildNodes="false" isMixin="true" name="publication:authoring" primaryItemName="">
    <propertyDefinitions>
      <propertyDefinition autoCreated="false" mandatory="false" multiple="false" name="publication:lastUser" onParentVersion="IGNORE" protected="false" requiredType="String">
        <valueConstraints/>
      </propertyDefinition>
      <propertyDefinition autoCreated="false" mandatory="false" multiple="false" name="publication:lifecycle" onParentVersion="IGNORE" protected="false" requiredType="String">
        <valueConstraints/>
      </propertyDefinition>
    </propertyDefinitions>
</nodeType>

When adding the content in a lifecycle, set the publication:lifecycle_ property with the corresponding lifecycle.

Note

A content can be in one lifecycle only.

Each time you change from one state to another, set the user who changed the state in publication:lastUser.

Querying based on publication status:

By adding this mixin to contents, you can access contents by simple queries based on the current user profile. For example:

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus