Content Item State Representations

The Content Engine state concept is represented by a combination of two elements. The following examples show the combinations used to represent each state:

Draft
<app:control>
  <app:draft>yes</app:draft>
  <vaext:state name="draft"
               href="http://host-ip-address/webservice/escenic/content/state/draft/editor"/>
</app:control>
Submitted
<app:control>
  <app:draft>yes</app:draft>
  <vaext:state name="submitted"
               href="http://host-ip-address/webservice/escenic/content/state/submitted/editor"/>
</app:control>
Approved
<app:control>
  <app:draft>yes</app:draft>
  <vaext:state name="approved"
               href="http://host-ip-address/webservice/escenic/content/state/approved/editor"/>
</app:control>
Published
<app:control>
  <app:draft>no</app:draft>
  <vaext:state name="published"
               href="http://host-ip-address/webservice/escenic/content/state/published/editor"/>
</app:control>
Draft (with published)
<app:control>
  <app:draft>yes</app:draft>
  <vaext:state name="draft-published"
               href="http://host-ip-address/webservice/escenic/content/state/draft-published/editor"/>
</app:control>
Submitted (with published)
<app:control>
  <app:draft>yes</app:draft>
  <vaext:state name="draft-submitted"
               href="http://host-ip-address/webservice/escenic/content/state/draft-submitted/editor"/>
</app:control>
Approved (with published)
<app:control>
  <app:draft>yes</app:draft>
  <vaext:state name="draft-approved"
               href="http://host-ip-address/webservice/escenic/content/state/draft-approved/editor"/>
</app:control>
Deleted
<app:control>
  <app:draft>yes</app:draft>
  <vaext:state name="deleted"
               href="http://host-ip-address/webservice/escenic/content/state/deleted/editor"/>
</app:control>

The vaext:state element's href attribute contains a URL that can be used to retrieve a document containing allowed state transformations for the content item. For more information about this, see Change Content Item State.