Skip to main content

INCONTEXT

Checks whether a permission expression is being evaluated in a specific access context.

caution

This function is currently supported only in Locked For expressions. It does not change Hidden For behavior.

See Cell level Locking & Hiding:  Permissions 

Syntax​

INCONTEXT(contextName)

Arguments​

  • contextName: The access context to check. Currently supported: "FORM".

Returns​

  • true when the record is being opened or updated in the specified context
  • false otherwise

Example​

INCONTEXT("FORM")

Used in cell locking:

INGROUP("GUEST_USER") && INCONTEXT("FORM")

This locks the cell for guest users while the record is in form mode.