Showing posts with label Toolbar customization. Show all posts
Showing posts with label Toolbar customization. Show all posts

ATG 10 BCC Merchandising Customisation - ToolBar

ATG 10 BCC Merchandising Customisation

Adding toolbar scope to both Browse and Find view.
Follow the below mentioned Steps.
Step 1:  Override the MerchandisingToolbar file.
Path: /config/atg/remote/commerce/toolbar/
 
Add the following content to file.
 
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE browse-hierarchy
  PUBLIC "-//Art Technology Group, Inc.//DTD Asset Manager Browse Hierarchy//EN"
  'http://www.atg.com/dtds/toolbar/toolbar_1.0.dtd'>

<toolbar xml-combine="append">
    <operation-menu id="authorBrowseOpMenu">
      <toolbar-scope asset-area="author" pane-id="browse"/>
      <operation-menu-item id="edit" />
      <operation-menu-item divider="true" />
      <operation-menu-item id="duplicate" />
      <operation-menu-item id="delete" />
      <operation-menu-item divider="true" />
      <operation-menu-item id="addToProject" />
      <operation-menu-item id="export" />
    </operation-menu>
    <operation-menu id="authorFindOpMenu">
      <toolbar-scope asset-area="author" pane-id="find"/>
      <operation-menu-item id="edit" />
      <operation-menu-item divider="true" />
      <operation-menu-item id="duplicate" />
      <operation-menu-item id="delete" />
      <operation-menu-item divider="true" />
      <operation-menu-item id="addToProject" />
      <operation-menu-item id="export" />
    </operation-menu>
   
    <operation-menu id="bookBrowseOpMenu">
      <toolbar-scope asset-area="book" pane-id="browse"/>
      <operation-menu-item id="edit" />
      <operation-menu-item divider="true" />
      <operation-menu-item id="duplicate" />
      <operation-menu-item id="delete" />
      <operation-menu-item divider="true" />
      <operation-menu-item id="addToProject" />
      <operation-menu-item id="export" />
    </operation-menu>
    <operation-menu id="bookFindOpMenu">
      <toolbar-scope asset-area="book" pane-id="find"/>
      <operation-menu-item id="edit" />
      <operation-menu-item divider="true" />
      <operation-menu-item id="duplicate" />
      <operation-menu-item id="delete" />
      <operation-menu-item divider="true" />
      <operation-menu-item id="addToProject" />
      <operation-menu-item id="export" />
    </operation-menu>
   
    <operation-menu id="addressBrowseOpMenu">
      <toolbar-scope asset-area="address" pane-id="browse"/>
      <operation-menu-item id="edit" />
      <operation-menu-item divider="true" />
      <operation-menu-item id="duplicate" />
      <operation-menu-item id="delete" />
      <operation-menu-item divider="true" />
      <operation-menu-item id="addToProject" />
      <operation-menu-item id="export" />
    </operation-menu>
    <operation-menu id="addressFindOpMenu">
      <toolbar-scope asset-area="address" pane-id="find"/>
      <operation-menu-item id="edit" />
      <operation-menu-item divider="true" />
      <operation-menu-item id="duplicate" />
      <operation-menu-item id="delete" />
      <operation-menu-item divider="true" />
      <operation-menu-item id="addToProject" />
      <operation-menu-item id="export" />
    </operation-menu>
</toolbar> 
BCC screens would look like below.
Toolbar