Both asset templates and grids have a 'TemplateFilter' property that can be used to filter assets based on tag values, tag names, asset names, and/or tag properties. Below are examples of the different filters that can be applied.
[TagName]
Returns all assets that have the specified tag.
[TagName]>Number
[TagName]>[TagName]
<, >, <=, >=, =, !=, <> (!= and <> are both equivalent to "not equal to")
Any combination of the above expressions can be joined using &&, ||, and, or.
sortby [TagName]
Sort assets according to the specified tag in ascending order. If descending order is desired, the 'desc' string will need appended to the end of the filter.
contains([%asset%],'string')
Filter on the asset name, in this case, any asset with 'Engine1' in its name.
contains([TagName.PropertyName],'string')
Filter assets based on the property of a tag.
Comments
0 comments
Please sign in to leave a comment.