View mapping objects are provided for all default asset types and properties in ATG Content Administration. Thus, you can display most asset or properties without configuring any view mappings; the View Mapping system uses the default items to represent assets.

To change the presentation of a default asset type—for example, to change a property so it uses a dropdown list instead of radio buttons as an edit control—you must configure an appropriate view mapping item.

The View Mapping system acts as a hierarchy of overrides, so you only need to configure the parts of a view that differ from the default. For example, to customize the display of the myList property in asset type foo:

Thereafter, the new propertyView is used when you edit an asset of type foo. The View Mapping system renders the asset with the changed property setting, which overrides the default setting.

Caution: Always create view mapping items rather than edit the default ones, as many default items are used more than once in the Business Control Center. Thus, changing an item can unintentionally affect multiple asset types or properties.

The basic process for creating items for the view mapping repository—for example, a propertyView or itemViewMapping repository item—is the same:

  1. Access the ACC and display the Publishing > View Mapping task window.

    Note: The View Mapping menu displays only if your user profile belongs to a group that has the Publishing: EPublishing Repository option enabled in the People and Organizations > Control Center Groups window. For more information on enabling Control Center Group options, refer to the ATG Platform Programming Guide.

  2. In the List field, specify the type of item to create, then click List. Existing items of this type are listed. It can be helpful to review these as examples.

  3. Click New Item. The New Item dialog box appears, with fields appropriate for a new item of the type to create.


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.

Legal Notices