ATG 10 BCC Merchandising Customisation
Atg 10 BCC comes with FLEX-UI components to Merchandising Screens. We will go through, how to add custom repository to Merchandising workflows.
Follow the below mentioned Steps.
Step 1: Override the MerchandisingBrowseHierarchy file.
Path: /config/atg/remote/commerce/browse/
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/browse-hierarchy/browse-hierarchy_1.0.dtd'>
<browse-hierarchy xml-combine="append">
<!-- Adding Custom Browse to Home -->
<browse-item id="home" xml-combine="append">
<browse-item reference-id="library"/>
<browse-item reference-id="address"/>
</browse-item>
<!-- The Library Home-->
<browse-item id="library" label="Library" is-root="true" icon-resource="node.priceLists.iconSmall">
<browse-item reference-id="author"/>
<browse-item reference-id="book"/>
</browse-item>
<!-- The Author -->
<browse-item id="author" label="Authors" is-root="false" icon-resource="node.priceLists.iconSmall" show-count="true">
<list-definition id="allauthor" retriever="query" child-type="/my/Library:author">
<retriever-parameter name="query" value="ALL" />
</list-definition>
</browse-item>
<!-- The Books -->
<browse-item id="book" label="Books" is-root="false" icon-resource="node.priceLists.iconSmall" show-count="true">
<list-definition id="allbook" retriever="query" child-type="/my/Library:book">
<retriever-parameter name="query" value="ALL" />
</list-definition>
</browse-item>
<!-- The Address -->
<browse-item id="address" label="Address" is-root="true" icon-resource="node.priceLists.iconSmall">
<list-definition id="alladdress" retriever="query" child-type="/my/Address:address">
<retriever-parameter name="query" value="ALL" />
</list-definition>
</browse-item>
</browse-hierarchy>
<!DOCTYPE browse-hierarchy
PUBLIC "-//Art Technology Group, Inc.//DTD Asset Manager Browse Hierarchy//EN"
'http://www.atg.com/dtds/browse-hierarchy/browse-hierarchy_1.0.dtd'>
<browse-hierarchy xml-combine="append">
<!-- Adding Custom Browse to Home -->
<browse-item id="home" xml-combine="append">
<browse-item reference-id="library"/>
<browse-item reference-id="address"/>
</browse-item>
<!-- The Library Home-->
<browse-item id="library" label="Library" is-root="true" icon-resource="node.priceLists.iconSmall">
<browse-item reference-id="author"/>
<browse-item reference-id="book"/>
</browse-item>
<!-- The Author -->
<browse-item id="author" label="Authors" is-root="false" icon-resource="node.priceLists.iconSmall" show-count="true">
<list-definition id="allauthor" retriever="query" child-type="/my/Library:author">
<retriever-parameter name="query" value="ALL" />
</list-definition>
</browse-item>
<!-- The Books -->
<browse-item id="book" label="Books" is-root="false" icon-resource="node.priceLists.iconSmall" show-count="true">
<list-definition id="allbook" retriever="query" child-type="/my/Library:book">
<retriever-parameter name="query" value="ALL" />
</list-definition>
</browse-item>
<!-- The Address -->
<browse-item id="address" label="Address" is-root="true" icon-resource="node.priceLists.iconSmall">
<list-definition id="alladdress" retriever="query" child-type="/my/Address:address">
<retriever-parameter name="query" value="ALL" />
</list-definition>
</browse-item>
</browse-hierarchy>
BCC screens looks like below.
BCC HomePage |
Library Home |
Which component is pointing to this configuration file
ReplyDeleteIt can be found at dyn/admin at atg/remote/commerce/browse/MerchandisingBrowseManager/
DeleteOr in local directory
\DCS-UI\config\atg\remote\commerce\browse\MerchandisingBrowseManager.properties
Hope it helps.
Regards,
Iranna
Very useful . Thanks
ReplyDeleteThanks Iranna :)
ReplyDelete-Sarbajeet
Hi Iranna,
ReplyDeleteCan we have ACL in there. For example a user with certain role can only access Store Repository and other links are not visible to that user.
If yes then how can we implement that. I looked into OOTB MerchandisingBrowseHierarchy.xml but didnt found any ACL related tags in there.
Thanks for help.
No. You dont have ACL on Browse hierarchy. But you have ACL on Items.
DeleteCan we have ACLs as Akshay asked?
ReplyDeleteNo. You dont have ACL on Browse hierarchy. But you have ACL on Items.
DeleteHello, I'm trying to resize a frame existing into the merchandising application. More precisely on a product presentation. The frame in question contains a picture of the product. I see that merchandising is a flex-based application, so we cannot customize it, what do you think?
ReplyDeleteWhy is-root attribute true for new component ? what is different of keep the value to true and false ?
ReplyDelete