/
Call a variable from CustomAction component
Convertigo Public Knowledge base
Call a variable from CustomAction component
You can not access data values directly from a Call Sequence component in a CustomAction.
You can:
Save the Call Sequence output data to a SetGlobal component
Add a Variable to the CustomAction and source it from the Call Sequence output data
SetGlobal component:
Use a SetGlobal component as a child of the Call Sequence component, give it a variable name and set its value to parent.out
To access the global value in your CustomAction:
page.global.<variable_name> or page.global["<variable_name>"]
Pass Variable to a CustomAction:
You can pass variables to custom actions. When you use a custom action, you can add Variable to the custom action. The variable value can be accessed within the custom action by a :
vars.<variable_name>
Or
vars['<variable_name>']
Related content
Call a custom Page function from a customAction component
Call a custom Page function from a customAction component
More like this
Get element or value from Identifier property
Get element or value from Identifier property
More like this
How to pass data parameters to a Sequence on onSubmit event of a form?
How to pass data parameters to a Sequence on onSubmit event of a form?
More like this
Passing parameters to a page
Passing parameters to a page
More like this
How to use ProgressBar component?
How to use ProgressBar component?
More like this
How to address a step variable in JS expression?
How to address a step variable in JS expression?
More like this
(c) Convertigo 2023 https://www.convertigo.com