Monday, July 27, 2015

Set property values to dynamo components (ATG Oracle Commerce)

There are several ways to set values to dynamo components that are not just simple String, Boolean, Numbers or Components.

Set a Property to point to another component
commerceItemManager^=/atg/commerce/order/purchase/PurchaseProcessHelper.commerceItemManager

Define a List of values:
requiredAddressPropertyNames=firstName,\
                             lastName,\
                             address1,\
                             city,\
                             state,\
                             country,\
                             postalCode,\
                             phoneNumber

Define a Map, which is similar to the list
addressPropertyNameMap=firstName=First Name,\
                lastName=Last Name,\
                address1=Street Address,\
                city=City,\
                state=State,\
                country=Country,\
                postalCode=Zip Code,\
                phoneNumber=Phone Number

Set Null using the Constants component
relRankStrategy^=/Constants.NULL


All of this can be found on ATG Oracle Commerce documentation:

Post a Comment