Var Syntax
@Var[name] is the notation for Workbook variables whose names contain spaces or were auto-generated by InVision components (Data Flow, Form Element, Script). For variables you create yourself, prefer standard names accessible via AppVariables.Name.
Reading
@Var[…] can be read anywhere in an Eaze expression:
CONCAT("Selected: ", @Var[Last Row Clicked].ProductName);
OpenBrowserWindow(CONCAT("http://api.company.com/appendix/", @Event.Data.ProsjektID));
Writing
Assignment to @Var[…] is only valid inside Execute Expression actions — not in cell calculation formulas:
@Var[My Factor] = 12.4;
@Var[Last Row Clicked] = @Event.Data;
@Var[Last Row Clicked].ProductID = @Event.Data.ProduktID;
Clearing and generating IDs
@Var[Name] = null; -- clear the variable
@Var[Name] = NEWID(); -- assign a new GUID
In JavaScript action handlers
When using JavaScript action handlers (2025.5+), reference @Var[…] variables via this.appVariables:
const val = this.appVariables["@Var[My Variable]"];
See JavaScript Code-Behind for the full Eaze → JS translation reference.