Tag Link | [Tag->Run] | Category | Tags |
---|---|---|---|
Type | Member | Source Available | No |
Support | Preferred | Version | 6.0 |
Change | Unchanged | Data Source | Any |
Output Type | Any | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0 |
The [Tag->Run] tag can be used to execute a tag or compound expression. Calling this tag is equivalent to calling a tag directly, but can be useful since parameters can be manipulated programmatically.
A reference to a tag can be retrieved through the \ symbol, the [Tags] map, or the [Null->Properties->Second] map of a data type.
Compound expressions can be created by surrounding a portion of LassoScript style code with braces {}. The compound expression can be stored in a variable or run using the [Tag->Run] tag.
The
The
The
\TagName->(Run:
[Tags->(Find: 'tagname')->(Run:
[Tags->(Find: 'tagname')->(Run:
[Array->Properties->Second->(Find: 'tagname')->(Run:
[{ Return: 'Value' }->(Run)]
[Variable: 'myExpression' = { Return: 'Value' }]
[Output: $myExpression->(Run)]
Optional Parameters | |
---|---|
-Params | The array of parameters which the tag should act upon. Defaults to the empty array if not specified. |
-Name | The name of the tag to be called. Required for many built |
-Owner | The data object which a member tag should act upon. Required for member tag calls. |
See the Lasso 8 Language Guide for examples of how to use this tag.