Whenever you create a new item descriptor or a repository which can be modified by Merchandiser, it should be present in BCC in order to add, modify and delete items.
As part of ATG 11.1 version, Oracle has provided simple steps to view newly created item-descriptor in BCC Flex UI.
Let us assume, we have created new item descriptor called contentItem in /atg/commerce/catalog/ProductCatalog repository.
(Modified /config/atg/commerce/catalog/custom/customCatalog.xml).
To add a new content item in BCC 11.1 follow below steps :
1. Adding to Content Browse Hierarchy
Location: <your_module>\config\atg\remote\content\browse\ContentBrowseHierarchy.xml
This will be used to view your item in content browser.
Add below code for contentItem
<?xml version="1.0" encoding="ISO-8859-1" ?>
<browse-hierarchy xml-combine="append">
<browse-item id="home" xml-combine="append">
<browse-item reference-id="contentItemDetails"/>
</browse-item>
<browse-item id="contentItemDetails" label-resource="node.styles.label.contentItem" is-root="true" >
<list-definition id="contentItemDetailsId" retriever="query" child-type="/atg/commerce/catalog/ProductCatalog:contentItem">
<retriever-parameter name="query" value="ALL" />
</list-definition>
</browse-item>
</browse-hierarchy>
Here, node.styles.label.contentItem is an property for Label to display in BCC.
You need to create new properties file in your source directory say, com.yourapp.web.resources.RepositoryTemplateResources.properties
To Configure this properties file as resource bundle referred by BCC, create a file below with same name and path:
<your_module>\config\atg\remote\assetmanager\MultiBundleFormatter.properties
and provide contents as:
bundlePaths+=\
com.yourapp.web.resources.RepositoryTemplateResources
You may add any number of resource bundle values in this property file. But, it is best practice to create separate file for each repository, so that it can be managed separately.
2. Adding to Content Find Configuration
Location: <your_module>\config\atg\remote\content\find\ContentFindConfiguration.xml
This will be used to display newly create item-descriptor in find tab.
Add below contents in xml file for find configuration;
<?xml version="1.0" encoding="UTF-8"?>
<find-configuration site-filtering="true" xml-combine="append">
<asset-family id="contentItem" site-filtering="false">
<display-name>Content Item</display-name>
<enable-default-query>true</enable-default-query>
<enable-filter-as-you-type>true</enable-filter-as-you-type>
<result-list page-size="500"/>
<default-asset-type>contentItem</default-asset-type>
<asset-type id="finish" site-filtering="false">
<enable-default-query>true</enable-default-query>
<enable-filter-as-you-type>true</enable-filter-as-you-type>
<repository-path>/atg/commerce/catalog/ProductCatalog</repository-path>
<repository-item-type>contentItem</repository-item-type>
</asset-type>
</asset-family>
</find-configuration>
3. Add to Content Tool bar
Location: <your_module>\config\atg\remote\content\toolbar\ContentToolbar.xml
This will be used to display control buttons in toolbar while you are navigating through browse item.
Buttons like add, edit, delete, move, duplicate etc. can be controlled through this xml.
<?xml version="1.0" encoding="ISO-8859-1" ?>
<toolbar xml-combine="append">
<operation-menu id="contentItemMenu">
<toolbar-scope asset-area="contentItem" pane-id="browse"/>
<operation-menu-item id="edit" />
<operation-menu-item id="move"/>
<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>
As part of ATG 11.1 version, Oracle has provided simple steps to view newly created item-descriptor in BCC Flex UI.
Let us assume, we have created new item descriptor called contentItem in /atg/commerce/catalog/ProductCatalog repository.
(Modified /config/atg/commerce/catalog/custom/customCatalog.xml).
To add a new content item in BCC 11.1 follow below steps :
1. Adding to Content Browse Hierarchy
Location: <your_module>\config\atg\remote\content\browse\ContentBrowseHierarchy.xml
This will be used to view your item in content browser.
Add below code for contentItem
<?xml version="1.0" encoding="ISO-8859-1" ?>
<browse-hierarchy xml-combine="append">
<browse-item id="home" xml-combine="append">
<browse-item reference-id="contentItemDetails"/>
</browse-item>
<browse-item id="contentItemDetails" label-resource="node.styles.label.contentItem" is-root="true" >
<list-definition id="contentItemDetailsId" retriever="query" child-type="/atg/commerce/catalog/ProductCatalog:contentItem">
<retriever-parameter name="query" value="ALL" />
</list-definition>
</browse-item>
</browse-hierarchy>
Here, node.styles.label.contentItem is an property for Label to display in BCC.
You need to create new properties file in your source directory say, com.yourapp.web.resources.RepositoryTemplateResources.properties
To Configure this properties file as resource bundle referred by BCC, create a file below with same name and path:
<your_module>\config\atg\remote\assetmanager\MultiBundleFormatter.properties
and provide contents as:
bundlePaths+=\
com.yourapp.web.resources.RepositoryTemplateResources
You may add any number of resource bundle values in this property file. But, it is best practice to create separate file for each repository, so that it can be managed separately.
2. Adding to Content Find Configuration
Location: <your_module>\config\atg\remote\content\find\ContentFindConfiguration.xml
This will be used to display newly create item-descriptor in find tab.
Add below contents in xml file for find configuration;
<?xml version="1.0" encoding="UTF-8"?>
<find-configuration site-filtering="true" xml-combine="append">
<asset-family id="contentItem" site-filtering="false">
<display-name>Content Item</display-name>
<enable-default-query>true</enable-default-query>
<enable-filter-as-you-type>true</enable-filter-as-you-type>
<result-list page-size="500"/>
<default-asset-type>contentItem</default-asset-type>
<asset-type id="finish" site-filtering="false">
<enable-default-query>true</enable-default-query>
<enable-filter-as-you-type>true</enable-filter-as-you-type>
<repository-path>/atg/commerce/catalog/ProductCatalog</repository-path>
<repository-item-type>contentItem</repository-item-type>
</asset-type>
</asset-family>
</find-configuration>
3. Add to Content Tool bar
Location: <your_module>\config\atg\remote\content\toolbar\ContentToolbar.xml
This will be used to display control buttons in toolbar while you are navigating through browse item.
Buttons like add, edit, delete, move, duplicate etc. can be controlled through this xml.
<?xml version="1.0" encoding="ISO-8859-1" ?>
<toolbar xml-combine="append">
<operation-menu id="contentItemMenu">
<toolbar-scope asset-area="contentItem" pane-id="browse"/>
<operation-menu-item id="edit" />
<operation-menu-item id="move"/>
<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>
One approach to increase the value of your web property is to discover an internet business arrangement that is "pre-planned" and pre-populated with items that praise your current substance.besimple.com/
ReplyDeleteOutstanding article! I want people to know just how good this information is in your article. Your views are much like my own concerning this subject. I will visit daily your blog because I know. It may be very beneficial for me. best-noise-cancelling-headphones-under-100
ReplyDeleteThis brief article will cover some of the areas of the webdesign process to pay particular attention to. We have designed many web sites for clients that had no idea where to start. We firmly believe that client education is a vital part of the overall success of the web project. Webdesign
ReplyDeleteThe planning of this kind of site manages novel planning needs. Woocommerce Developer
ReplyDeleteI really impressed after read this because of some quality work and informative thoughts . I just wanna say thanks for the writer and wish you all the best for coming!. test bank
ReplyDeleteNotwithstanding, it is likewise essential to think about the highlights and instruments given by different PHP-based internet business stages as per your particular requirements. WordPress Developer Brisbane
ReplyDeleteGreat articles and great layout. Your blog post deserves all of the positive feedback it’s been getting. 안전놀이터
ReplyDeleteWhenever I have some free time, I visit blogs to get some useful info. Today, I found your blog with the help of Google. Believe me; I found it one of the most informative blog. 파워볼
ReplyDeleteI definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work. 온라인바둑이
ReplyDeletedance shoes that are shiny are the most cool stuff that you could possibly wear** referral codes
ReplyDeletemostly all professionally developed websites are now constructed using CSS. It allows for faster page loading, consistency in the design, ease in navigation and usability, Autostrada
ReplyDeleteAloha Casino 2022 - Airjordan21Retro
ReplyDeleteAloha Casino 2022. 188bet Check your email High Quality jordan 21 retro and find 토토 사이트 the 바카라 사이트 perfect email address. · Check email address jordan 12 retro Shipping Online · Contact Us. Email. Email.
Youthful, John Morrison, grew up enthusiastically for sports and numbers.롤 대리
ReplyDelete"Welcome to KIMS Cuddles, your trusted destination for women's health in Kondapur. Gynecology, often referred to as the 'Science of Women,' is a crucial branch of medical practice focusing on the healthcare of the female reproductive system and breasts. At KIMS Cuddles, we take pride in being the best gynecology hospital in Kondapur, where our expert gynecologists specialize in providing comprehensive outpatient daycare procedures and surgical options for various women's health concerns.
ReplyDeletekims cuddles hyderabad
Our commitment to excellence is reflected in our team of the best gynecologists near Kondapur, who are dedicated to offering the most current diagnostic and operative technologies. Whether you are planning to become a mother, are currently expecting, or are already a mother, our skilled team of gynecologists in Kondapur is here to provide tailored healthcare solutions for your unique needs.
At our gynecology hospital in Kondapur, our experts excel in various procedures, including cesarean sections, hysterectomies for conditions like fibroids and abnormal bleeding, ablation modalities, laparoscopy to address pelvic pain, masses, and endometriosis, among other specialized treatments."
Not as protective as I hoped. My screen still cracked. Samsung Galaxy a14 5g case
ReplyDelete