We are trying to render content in the right hand column based on the contents of a number of "Metadata Related Asset Field" specified by editors. We would like to apply a paint layout when rendering the asset's contents as you can do with an item within an asset listing, using the keyword %asset_contents_paint_123456%
We have tried a number of approaches including
(on a standard page) %globals_asset_metadata_related_asset_1^as_asset:asset_contents_paint_123456%
creating an asset listing with the dynamic root node: Replacement Root node for the listing (must be a child of the static root node) Current Asset keyword - asset_metadata_related_asset_1
Which is intended to list the item specified by the value of the metadata field "asset_metadata_related_asset_1"
Alternatively, using the asset listing approach, use the globals format instead as the dynamic ID value and use set value: %globals_asset_metadata_related_asset_1%
Alternatively, using the asset listing approach, use the globals format instead as the dynamic ID value and use set value: %globals_asset_metadata_related_asset_1%
Hi Bart
I was using the wrong keyword. Using
asset_contents_paint_layout_id_123456
as you showed worked a treat.
I've also since discovered, (thanks to Chris Horikx), that using an asset listing with the "Dynamic parameters" "Parameter" option
Array of specific asset IDs or selection group (specified assets must be children of the static related node)
with Source:
Set value globals_asset_metadata_related_asset_1
Also works.
Is the globals keyword likely to renders faster than the asset listing?