relation-type

Defines a named relation type. Relation types allow you to classify relations between content items. You might, for example, define a content-type with the relations "article-image" (intended for an image to be displayed with a content item's body) and "teaser-image" (intended for an image to be displayed in a content item's teaser). In Content Studio content item editors these relation types will appear as two drop zones labelled "article-image" and "teaser-image". A drop zone is an area in which the Content Studio user can drop content items (in this case the images he wants to appear in these locations).

Syntax
<relation-type
    name="NCName"
  >
    ANY-FOREIGN-ELEMENT*
  </relation-type>
Examples
  • <relation-type name="images">
      <ui:label>Pictures</ui:label>
    </relation-type>
Attributes
name="NCName"

The name of the relation-type element.