Add result sets and mappings
This topic explains how to add result sets and various types of mappings to a frame.
Add a result set
You add a result set to a frame to define what assets you can use in the frame.
To add a result set to a frame:
-
In the Dynamic frame dialog, on the Contents tab, click Add result set.
-
In the Result set drop-down list, click one of the following entity types: Saved search, Saved selection, Collection, Asset, or Fragment.
NoteIf you choose Asset, you can select up to five assets. For a larger selection pool, choose Saved search, Saved selection, or Collection.
-
Click select.
-
In the Select result set dialog, select the entities you want to link to the frame.
-
Click Select.
-
In the Dynamic frame dialog, to make the result set appear depending on the value of a variable, click Add condition and then specify the two fields of the If condition. You can add as many conditions as you want.
-
Click Save.
Add a mapping
You add a mapping to a frame to automatically fill the frame variables with the metadata from the selected assets.
To add a mapping:
-
In the Dynamic frame dialog, on the Contents tab, click Add result set.
-
In the Dynamic frame dialog, on the Mappings tab, click Add mapping.
-
In the Source relation, Store property, and In Template value drop-down lists, specify values. The entities in the Source relation drop-down list are related to the selected assets. If this field is empty, metadata from the asset itself fills the template value.
-
Click Save.
Add a variable mapping
Use variable mappings to store entity properties in a variable.
To add a variable mapping:
-
On the Triggers tab, click
Trigger. -
In the Trigger dialog, in the Source relation drop-down list, click the source entity you want to use.
-
In the Variable mappings dialog, click Add mapping.
-
In the Store property drop-down list, click the property you want to store in the template variable.
-
In the in template variable drop-down list, click the template variable that stores the property value.
-
Click Save.
Add a frame mapping
You add a mapping to a frame to automatically fill the frame variables with an asset related to an entity from the selected source relation.
To add a frame mapping:
-
On the Triggers tab, click
Trigger. -
In the Trigger dialog, in the Source relation drop-down list, click the source entity you want to use.
-
In the Frame mappings dialog, click Add mapping.
-
In the If ChiliType is drop-down list, click the type the asset must have in order to be stored in the frame.
-
In the store in frame drop-down list, click the frame that stores the asset.
-
Click Save.