A view displays a subset of the data in the repository. The contents of each Repository View are determined by the object classes of the view’s item descriptor, and the view’s search roots. When a query is performed on the view, items are returned that reside in one of the specified search roots and satisfy the view’s item descriptor. The search root may include the entire directory tree. For more information about ATG repository views, see the ATG Repository Guide.

When you change the Product Catalog repository between secured and unsecured, the repository property and the views are updated, automatically; Merchandising uses the MerchandisingProductCatalog component, which points to the correct repository. When you change the Price List or Claimable repository between secured and unsecured, you must update all the views that display assets from the repository.

Note: Although it is possible for one repository that is used by your application to be secured and for another to be unsecured, all the views for one repository must refer to the same type: secured or unsecured.

The following table shows the views that must be updated.

Repository

Views

Merchandising Product Catalog

Catalog, Unlinked Catalog Items, Media, and Promotions. Views are updated automatically when the repository is changed between secured and unsecured.

Price List

Price Lists, and Price Lists and Folders. Views require manual update when the repository is changed between secured and unsecured.

Claimable

Coupons. View requires manual update when the repository is changed between secured and unsecured.

To update a view:

  1. Locate the component that represents the view. Standard options include:

    • Promotions view:
      /atg/commerce/web/assetmanager/PromotionsBrowseTab
      Configuration

    • Media view:
      /atg/commerce/web/browse/MediaTreeDefinition

    • Price Lists view:
      /atg/commerce/web/browse/PriceListsTreeDefinition

    • Price Lists and Folders view:
      atg/commerce/web/browse/PriceListFoldersTreeDefinition

    • Coupons view:
      atg/commerce/web/assetmanager/CouponBrowseTabConfiguration

    Note: No changes are required for a Catalog or Unlinked Catalog Items view.

  2. Change the value of the repositories property of this component to the repository you want to use.