For the complete documentation index, see llms.txt. This page is also available as Markdown.

Expression - Quick Reference

Context Pattern
Description
Examples

User & Organization

@ctx.user.<enum>

User info: displayName, email, id

=@ctx.user.displayName

@ctx.organization.id

Organization ID only

=@ctx.organization.id

Solution & App State

@ctx.solution.<enum>

Solution info: name, id, title

=@ctx.solution.name

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

Custom app settings

=@ctx.solution.settings.custom.theme

@ctx.solution.state.<path>

Global app state

=@ctx.solution.state.counter

Navigation & Screen Context

@ctx.jig.inputs.<param>

Screen input params

=@ctx.jig.inputs.customerId

@ctx.jig.state.<path>

Screen state

=@ctx.jig.state.filter

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

Other screen context

=@ctx.jigs.details.state.value

Components

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

Component state: value, isValid, isDirty

=@ctx.components.form.state.value

@ctx.component.inputs

Current component inputs

=@ctx.component.inputs

@ctx.component.state.<path>

Current component state

=@ctx.component.state.value

Lists & Tables

@ctx.current.item

List/table/grid/dropdown item

=@ctx.current.item.name

@ctx.current.column

Table column context

=@ctx.current.column.id

@ctx.current.cell.<enum>

Table cell: value, isSelected

=@ctx.current.cell.value

@ctx.current.state.<enum>

Current state: isSelected

=@ctx.current.state.isSelected

Data & Actions

@ctx.datasources.<name>

Datasource data

=@ctx.datasources.customers[0].name

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

Action state: isPending - tracks whether an async action is currently executing. Returns true while an async action is in progress and false when idle. Supported for all async actions. Sync-only actions (e.g. go-to, set-state, reset-state) always return false.

response

value

=@ctx.actions.save.state.isPending

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

Action outputs: fileUri, newItems, invalidItems

=@ctx.actions.export.outputs.fileUri

Functions & API

@ctx.function.parameters.<name>

Function input params

=@ctx.function.parameters.search

@ctx.response

Function response

=@ctx.response

@ctx.response.status

HTTP status code

=@ctx.response.status

@ctx.response.body.<path>

Response body data

=@ctx.response.body.items[0].id

System Properties

@ctx.system.appVersion

Current app version

=@ctx.system.appVersion

@ctx.system.deviceType

"Tablet" or "Handset"

=@ctx.system.deviceType

@ctx.system.isOnline

Network connectivity

=@ctx.system.isOnline

@ctx.system.isOffline

Offline status

=@ctx.system.isOffline

@ctx.system.locale

Device language/locale

=@ctx.system.locale

@ctx.system.geolocation.coords.latitude

GPS latitude

=@ctx.system.geolocation.coords.latitude

@ctx.system.geolocation.coords.longitude

GPS longitude

=@ctx.system.geolocation.coords.longitude

Shared Resources

@ctx.expressions.<path>

Shared expressions

=@ctx.expressions.formatPrice

@ctx.scripts.<path>

Custom scripts

=@ctx.scripts.myFn

Last updated

Was this helpful?