The flattenContainersInSelection setting is one of the settings of an Action plug-in that can be configured in its configuration file. For more information, see Assets Server Action plug-ins - configuration settings.
Required | No |
Description |
Load container assets and provide a "flat" selection of unique assets in the elvisContext when set to true. Default value is true. Often used in combination with removeContainersFromSelection for removing the container asset from the selection after the selection is flattened. |
Basic setting |
|
Examples
Assume we have an original selection, which contains:
- Asset A
- Asset B
- Asset C
- Container X, which contains: Asset D, Asset E and Asset B
Do not flatten the selection and keep the containers
The selection is equal to the original selection.
<flattenContainersInSelection>false</flattenContainersInSelection>
<removeContainersFromSelection>false</removeContainersFromSelection>
Flatten the selection and remove the flattened containers
The selection becomes: Asset A, Asset B, Asset C, Asset D, Asset E
<flattenContainersInSelection>true</flattenContainersInSelection>
<removeContainersFromSelection>true</removeContainersFromSelection>
Flatten the selection and keep the flattened containers
The selection becomes: Asset A, Asset B, Asset C, Asset D, Asset E, Container X
<flattenContainersInSelection>true</flattenContainersInSelection>
<removeContainersFromSelection>false</removeContainersFromSelection>
Comment
Do you have corrections or additional information about this article? Leave a comment! Do you have a question about what is described in this article? Please contact Support.
0 comments
Please sign in to leave a comment.