Daljo628
-
10/19/2010 1:56:29 PM
A Transformation Within A Transformation?
Not to sound overly like Hamlet or anything (play within a play), but here's my current difficulty:
Background: In our current site build, we are going to be displaying products in a catalog format. As they aren't actually selling any products through the site, we have been working off of a custom document type, rather than actual commerce functionality within Kentico.
Three of the fields that we are using in our custom document type (RelatedProducts, CoordinatingProducts, and Upgrades) will hold a comma-seperated list of SKU codes. What I need to do is take those SKU codes, and display the 'Products' (Documents) that have that (unique) SKU code, via either a transformation or fixed bit of code.
Question In Brief: In a custom function called by a transformation for {Document A}, does Kentico offer any way to return some content from a different document (of the same type), {Document B}, that is specified within a field in {Document A}? Ideally, the returned content would be {Document B}, formatted according to a pre-selected transformation for its document type, but it could simply return the values to the function, to be formatted there.
|