Item view mappings represent tabs in the user interface and are often used to override attributes of the related itemMapping or itemView objects.

The itemViewMapping item descriptor is defined as follows in ViewMapping.xml:

<item-descriptor name="itemViewMapping" id-space-names="viewmapping"
    display-property="name" query-cache-size="40">
    <table name="vmap_ivm" type="primary" id-column-name="id">
      <property name="id" data-type="string"/>
      <property name="name"/>
      <property name="displayName" column-name="display_name"/>
      <property name="description"/>
      <property name="view" column-name="view_id" item-type="itemView"/>
    </table>

    <!-- attributeValues property -->
    <table name="vmap_attrval_rel" type="multi"
      id-column-name="mapper_id" multi-column-name="name">
      <property name="attributeValues" column-name="attribute_id"
        data-type="map" component-item-type="attributeValue"
        cascade="update,delete"/>
    </table>

    <!-- propertyViewMappings (PropertyViewMapping) property -->
    <table name="vmap_ivm2pvm_rel" type="multi" id-column-name="ivm_id"
      multi-column-name="name">
      <property name="propertyMappings" column-name="pvm_id"
        data-type="map" component-item-type="propertyViewMapping"/>
    </table>
</item-descriptor>

Item view mappings have the following key properties:

Property

Use

attributeValues

Optional key/value pairs that define an attribute of this item view mapping. For more information, see View Mapping Attributes.

description

Informational description of this item.

displayName

The display name for the view in the ATG Business Control Center. (The value appears in the banner of the asset properties tab, for example.)

name

The name for the view in the ACC. You could use the name value to switch between different views for the same set of asset properties; for example, you could have one view for assets displayed and edited in English and another view for Spanish asset properties.

propertyMappings

Optional collection of propertyMapping items.

view

Optional reference to an itemView.

See Creating View Mapping Repository Items for the basic procedure for creating an itemViewMapping.

 
loading table of contents...