From wiki.ginstr.com
Jump to: navigation, search

gn:act_getVariable

Description
Action used to load value of variable from memory and stores it into target
WARNING: In case this action is used to store the value into GnDatePicker, GnTimePicker and GnDateTimePicker, those widgets must be visible!
Action returns
void

Action signatures

Load variable value into widget

[gn:act_getVariable]|[source,target]
Parameter Description
source source from where value will be used
target target where variable value will be stored

Example

@variable/employee_firstName - variable
@+id/employee_firstName - widget
[gn:act_getVariable]|[@variable/employee_firstName,@+id/employee_firstName]