ATG 10.1 BCC Localization

ATG 10.1 BCC Localization

ATG 10.1 BCC comes up with following 9 supporting languages.

  • Spanish (International Sort)
  • French (France)
  • German (Germany)
  • Italian (Italy)
  • Chinese (Simplified)
  • Dutch (Netherlands)
  • Portuguese (Brazil)
  • Swedish
  • Japanese
To view BCC in different languages, Create a user and assign locale to user.
1. Login to BCC, and open "Internal Users" under "Personalization".

2. Click on "+" to add new user.


3. Fill minimal following information under each tabs.

General: Login name, Password, Locale

Under Locale, provide the language that you prefer to use.

 
 Orgs & Roles : Assign "100001-member", "EPub-Admin" and "EPub-Super-Admin" to make new user as Admin.
Create user.

4. Log out and Login using newly created user.

Below example is of user with Spanish (Spain) as locale.

Spanish Home Page

Merchandising HomePage


Additional Info: ATG 10.0.3 supports following languages.

  • English (United States) (en_US)
  • French (France) (fr_FR)
  • Japanese (Japan) (ja_JP)
  • German (Germany) (de_DE)

Making ID property editable in BCC- OOTB Repository

Making ID property editable in BCC- OOTB Repository


To make ID property editable in BCC, please follow below steps. We will make Category ID to be editable.

Note: ID property is editable ONLY when item is being created first time using BCC.

Step 1: Print itemMapping for Category Item in Dyn/admin.
<print-item item-descriptor="itemMapping" id="AmImCat" />


------ Printing item with id: AmImCat
<add-item item-descriptor="itemMapping" id="AmImCat">
  <set-property name="itemName"><![CDATA[category]]></set-property>
  <set-property name="description"><![CDATA[DCS-UI category itemMapping]]></set-property>
  <set-property name="attributes"><![CDATA[resourceBundle=AmAvCatBnd]]></set-property>
  <set-property name="mode"><![CDATA[AmMmDef]]></set-property>
  <set-property name="viewMappings"><![CDATA[AmIvmCatGen,AmIvmCatMedia,AmIvmCatPrdt,AmIvmCatAdv]]></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> 


Step 2: Create new attribute with value "true".
<add-item item-descriptor="attributeValue" id="MYAvCatEditId">
 <set-property name="value"><![CDATA[true]]></set-property>
</add-item>


Step 3: Update the existing item-Mapping.
<update-item item-descriptor="itemMapping" id="AmImCat">
 <set-property name="attributes"><![CDATA[resourceBundle=AmAvCatBnd,showCreationId=MYAvCatEditId]]></set-property>
</update-item>


Category Id Editable

Making ID property editable in BCC- Custom Repository

Making ID property editable in BCC- Custom Repository


To make ID property editable in BCC, please follow below steps.

Step 1: Create Attribute with value "true".
<add-item item-descriptor="attributeValue" id="MYAvAddrsEditId">
 <set-property name="value"><![CDATA[true]]></set-property>
</add-item>


Step 2: Update the existing ItemMapping, else create new.
<update-item item-descriptor="itemMapping" id="MYImAddress">
 <set-property name="attributes"><![CDATA[showCreationId=MYAvAddrsEditId]]></set-property>
</update-item>


OR

<add-item item-descriptor="itemMapping" id="MYImAddress">
  <set-property name="name"><![CDATA[AssetManager]]></set-property>
  <set-property name="description"><![CDATA[AssetManager Address itemMapping]]></set-property>
  <set-property name="mode"><![CDATA[AmMmDef]]></set-property>
  <set-property name="itemPath"><![CDATA[/my/Address]]></set-property>
  <set-property name="itemName"><![CDATA[address]]></set-property>
  <set-property name="formHandler"><![CDATA[AmFhDef]]></set-property>
  <set-property name="attributes"><![CDATA[showCreationId=MYAvAddrsEditId]]></set-property>
</add-item>

Id Editable

Creating a Multiple Tabs using view mappings


Creating a Multiple Tabs using view mappings



To create Multiple Tabs using view mappings, please follow the below mentioned steps.

Step 1: Create "Attribute" for resource bundle ( Not required, if your RDF doesn't contain Resource-Bundle & Need not create, if u have created while doing previous exercise)
<add-item item-descriptor="attributeValue" id="MYAvRESBnd">
  <set-property name="value"><![CDATA[/my/Resources]]></set-property>
</add-item>

Step 2: Create "Attribute" for Category names used in RDF.
<add-item item-descriptor="attributeValue" id="MYAvBookGenCat">
  <set-property name="value"><![CDATA[BookInfo]]></set-property>
</add-item>

<add-item item-descriptor="attributeValue" id="MYAvBookDimen">
  <set-property name="value"><![CDATA[BookDimen]]></set-property>
</add-item>

<add-item item-descriptor="attributeValue" id="MYAvBookAuthor">
  <set-property name="value"><![CDATA[BookAuthor]]></set-property>
</add-item>


Step 3: Create itemViewMapping for all the tabs.
<add-item item-descriptor="itemViewMapping" id="MYIvmBookGeneral">
  <set-property name="name"><![CDATA[AssetManager Book general itemViewMapping]]></set-property>
  <set-property name="displayName"><![CDATA[Book Details]]></set-property>
  <set-property name="view"><![CDATA[AmIvDef]]></set-property>
  <set-property name="attributeValues"><![CDATA[includedCategories=MYAvBookGenCat,resourceBundle=MYAvRESBnd]]></set-property>
</add-item>

<add-item item-descriptor="itemViewMapping" id="MYIvmBookDimen">
  <set-property name="name"><![CDATA[AssetManager Book Dimensions itemViewMapping]]></set-property>
  <set-property name="displayName"><![CDATA[Book Dimensions]]></set-property>
  <set-property name="view"><![CDATA[AmIvDef]]></set-property>
  <set-property name="attributeValues"><![CDATA[includedCategories=MYAvBookDimen,resourceBundle=MYAvRESBnd]]></set-property>
</add-item>

<add-item item-descriptor="itemViewMapping" id="MYIvmBookAuthor">
  <set-property name="name"><![CDATA[AssetManager Book Author itemViewMapping]]></set-property>
  <set-property name="displayName"><![CDATA[Book Author]]></set-property>
  <set-property name="view"><![CDATA[AmIvDef]]></set-property>
  <set-property name="attributeValues"><![CDATA[includedCategories=MYAvBookAuthor,resourceBundle=MYAvRESBnd]]></set-property>
</add-item>


Note: displayName is what that appears as Tab Name.

Step 4: Create itemMapping for Item-descriptor in RDF using all tabs.
<add-item item-descriptor="itemMapping" id="MYImBook">
  <set-property name="name"><![CDATA[AssetManager]]></set-property>
  <set-property name="description"><![CDATA[AssetManager Book itemMapping]]></set-property>
  <set-property name="mode"><![CDATA[AmMmDef]]></set-property>
  <set-property name="itemPath"><![CDATA[/my/Library]]></set-property>
  <set-property name="itemName"><![CDATA[book]]></set-property>
  <set-property name="formHandler"><![CDATA[AmFhDef]]></set-property>
  <set-property name="viewMappings"><![CDATA[MYIvmBookGeneral,MYIvmBookDimen,MYIvmBookAuthor]]></set-property>
</add-item>


Multiple Tabs in BCC