As we are all aware Merchandising UI in ATG 10 has been delivered using Flex UI
Below are the steps that need to be followed to made to edit Ids while creating product asset withing Flex
1. Go to Dynamo Administration of BCC
2. Navigate to /atg/web/viewmapping/ViewMappingRepository component
3. Run this XML Operation Tags on the Repository:
<print-item item-descriptor="itemMapping" id="AmImPrdt" />
------ Printing item with id: AmImPrdt
<add-item item-descriptor="itemMapping" id="AmImPrdt">
<set-property name="itemName"><![CDATA[product]]></set-property>
<set-property name="description"><![CDATA[AssetManager product itemMapping]]></set-property>
<set-property name="attributes"><![CDATA[resourceBundle=AmAvPrdtBnd]]></set-property>
<set-property name="mode"><![CDATA[AmMmDef]]></set-property>
<set-property name="viewMappings"><![CDATA[AmIvmPrdtGen,AmIvmPrdtSkus,AmIvmPrdtCat,AmIvmPrdtMedia,AmIvmPrdtPrice,AmIvmPrdtCrossEdit,AmIvmPrdtAdv]]></set-property>
<set-property name="formHandler"><![CDATA[AmFhDef]]></set-property>
<set-property name="itemPath"><![CDATA[/atg/commerce/catalog/ProductCatalog]]></set-property>
<set-property name="name"><![CDATA[AssetManager]]></set-property>
</add-item>
4. Run this XML Operation Tags on the Repository:
<add-item item-descriptor="attributeValue" id="AmAvPrdtCreateId">
<set-property name="value"><![CDATA[true]]></set-property>
</add-item>
5. Append newly created attributeValue into attributes property of AmImPrdt itemMapping using this XML Operation Tags on the Repository:
IMPORTANT NOTE: There shouldn't be any carriage return (ENTER) or white space signs inside ![CDATA[..]]
<update-item item-descriptor="itemMapping" id="AmImPrdt">
<set-property name="attributes"><![CDATA[resourceBundle=AmAvPrdtBnd,showCreationId=AmAvPrdtCreateId]]></set-property>
</update-item>
Below are the steps that need to be followed to made to edit Ids while creating product asset withing Flex
1. Go to Dynamo Administration of BCC
2. Navigate to /atg/web/viewmapping/ViewMappingRepository component
3. Run this XML Operation Tags on the Repository:
<print-item item-descriptor="itemMapping" id="AmImPrdt" />
------ Printing item with id: AmImPrdt
<add-item item-descriptor="itemMapping" id="AmImPrdt">
<set-property name="itemName"><![CDATA[product]]></set-property>
<set-property name="description"><![CDATA[AssetManager product itemMapping]]></set-property>
<set-property name="attributes"><![CDATA[resourceBundle=AmAvPrdtBnd]]></set-property>
<set-property name="mode"><![CDATA[AmMmDef]]></set-property>
<set-property name="viewMappings"><![CDATA[AmIvmPrdtGen,AmIvmPrdtSkus,AmIvmPrdtCat,AmIvmPrdtMedia,AmIvmPrdtPrice,AmIvmPrdtCrossEdit,AmIvmPrdtAdv]]></set-property>
<set-property name="formHandler"><![CDATA[AmFhDef]]></set-property>
<set-property name="itemPath"><![CDATA[/atg/commerce/catalog/ProductCatalog]]></set-property>
<set-property name="name"><![CDATA[AssetManager]]></set-property>
</add-item>
4. Run this XML Operation Tags on the Repository:
<add-item item-descriptor="attributeValue" id="AmAvPrdtCreateId">
<set-property name="value"><![CDATA[true]]></set-property>
</add-item>
5. Append newly created attributeValue into attributes property of AmImPrdt itemMapping using this XML Operation Tags on the Repository:
IMPORTANT NOTE: There shouldn't be any carriage return (ENTER) or white space signs inside ![CDATA[..]]
<update-item item-descriptor="itemMapping" id="AmImPrdt">
<set-property name="attributes"><![CDATA[resourceBundle=AmAvPrdtBnd,showCreationId=AmAvPrdtCreateId]]></set-property>
</update-item>
No comments:
Post a Comment