REP#006 - What are derived properties in ATG Repository?

Ans. Item-descriptor properties which derive their values from properties of same or some other item-desctriptor.Syntax:<property> <derivation method="[SOME_DERIVATION_METHOD]"> <expression>[SOME_PROPERTY_OF_SAME_ITEM_DESCRIPTOR]</expression> <expression>[SOME_PROPERTY_OF_SAME_ITEM_DESCRIPTOR]</expression> </derivation></property>Where, [SOME_DERIVATION_METHOD] can be replaced by the some specific keywords. According to the keyword provided, one of the expression is chosen. Details on different methods can be found HERE.In the <expression> tags, you can have some property of same item-descriptor or different item-descriptor of same property. If property of same item-descriptor(e.g property1) is used, the <expression> tags can contain that property. E.g. <expression>property1</expression>In case the property is of another item-descriptor(say descriptor1) of same repository, the <expression> tags can be represented as <expression>descriptor1.property1</expression>Asked By: Wipro, Sapient, Nvizion Solutions

No comments:

Post a Comment

About Me

Monis is a Software Engineer, Technology Enthusiast and an Entrepreneur. Monis has 5+ years of experience in Java based technologies including Oracle ATG, Broadleaf Commerce, Hybris, Apache Solr, Hibernate, Spring with specialization in eCommerce platforms.