From wiki.ginstr.com
Revision as of 15:58, 8 August 2019 by Dinko (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

gn:act_saveToVariable

Description
Action used to store value of variable in variables.xml file from target.
Values that are stored in variables.xml are loaded into variables on startup of the ginstr application.
This is NOT used to set the variable value while in app instance.
To set variable value for usage in the same app instance, gn:act_setVariable should be used.
Action returns
void

Action signatures

Save to variable

[gn:act_saveToVariable]|[target,source]
Parameter Description
target target for which the value from source will be stored permanently
source source from where the value will be stored in target

Example

@variable/siteSelection - variable
@+id/site - source
[gn:act_saveToVariable]|[@variable/siteSelection,@+id/site]