Expression - Quick Reference

Context Pattern
Description
Examples

User & Organization

@ctx.user.<enum>

User info: displayName, email, id

@ctx.organization.id

Organization ID only

Solution & App State

@ctx.solution.<enum>

Solution info: name, id

@ctx.solution.settings.custom.<path>

Custom app settings

@ctx.solution.state.<path>

Global app state

Navigation & Screen Context

@ctx.jig.inputs.<param>

Screen input params

@ctx.jig.state.<path>

Screen state

@ctx.jigs.<screenId>.<path>

Other screen context

Components

@ctx.components.<formId>.state.<enum>

Component state: value, isValid, isDirty

@ctx.component.inputs

Current component inputs

@ctx.component.state.<path>

Current component state

Lists & Tables

@ctx.current.item

List/table/grid/dropdown item

@ctx.current.column

Table column context

@ctx.current.cell.<enum>

Table cell: value, isSelected

@ctx.current.state.<enum>

Current state: isSelected

Data & Actions

@ctx.datasources.<name>

Datasource data

@ctx.actions.<actionId>.state.<enum>

Action state: isPending, response, value

@ctx.actions.<actionId>.outputs.<enum>

Action outputs: fileUri, newItems, invalidItems

Functions & API

@ctx.function.parameters.<name>

Function input params

@ctx.response

Function response

@ctx.response.status

HTTP status code

@ctx.response.body.<path>

Response body data

System Properties

@ctx.system.appVersion

Current app version

@ctx.system.deviceType

"tablet" or "handset"

@ctx.system.isOnline

Network connectivity

@ctx.system.isOffline

Offline status

@ctx.system.locale

Device language/locale

@ctx.system.geolocation.coords.latitude

GPS latitude

@ctx.system.geolocation.coords.longitude

GPS longitude

Shared Resources

@ctx.expressions.<path>

Shared expressions

@ctx.scripts.<path>

Custom scripts

Last updated

Was this helpful?