Changing the label used for the view in the Browse tab Show dropdown list as described in Working with Resource Bundles.
For instructions on creating views, see Creating Views section of the Configuring the Asset Manager chapter of the ATG Business Control Center Administration and Development Guide.
Changing the Types of Assets You Can Create in a View
The types of assets available in the dropdown list displayed when you click the Create New button are tailored for each view. You can add or remove types from this list by modifying the createableTypesList
property in the appropriate component of atg.web.assetmanager.configuration.BrowseTreeViewConfiguration
class:
Catalog view:
/atg/commerce/web/assetmanager/CatalogBrowseTabConfiguration
Unlinked Catalog Items view:
/atg/commerce/web/assetmanager/OrphanBrowseTabConfiguration
Media view:
/atg/commerce/web/assetmanager/MediaBrowseTabConfiguration
Learn more about the BrowseTreeViewConfiguration
class and its properties in the Creating Views section in the Configuring the Asset Manager chapter of the ATG Business Control Center Administration and Development Guide.
Changing the Types of Assets Visible in a Tree View
Another way to modify an existing tree view is by adding new asset types to or removing existing asset types from a tree in a view. Modify the treeLinks
and rootNodeRQL
properties in the appropriate view component located in the /atg/commerce/web/browse
directory:
Catalog view for standard catalogs:
StandardCatalogTreeDefinition
Catalog view for custom catalogs:
CustomCatalogTreeDefinition
Unlinked Catalog Items view for standard catalogs:
StandardCatalogOrphanTreeDefinition
Unlinked Catalog Items view for custom catalogs:
CustomCatalogOrphanTreeDefinition
Media view:
MediaTreeDefinition
For instructions, see the ATG Business Control Center Administration and Development Guide.
Changing Bucket Size
A bucket is a folder that’s automatically generated when you view a tree that contains a large number of assets. Adjust the number of assets held in a bucket by modifying the bucketSize
and bucketRatio
properties of /atg/web/tree/CountBasedBucketer
, which is the component that defines buckets for all trees. If you want each tree to handle bucketing differently, create new Count Based Bucketer components. For more information on this component and its properties, see the Configuring the Asset Manager chapter of the ATG Business Control Center Administration and Development Guide for instructions.