Skip to main content

NOTINCONTEXT

Checks whether a permission expression is being evaluated outside 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​

NOTINCONTEXT(contextName)

Arguments​

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

Returns​

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

Example​

NOTINCONTEXT("FORM")

Used in cell locking:

INGROUP("GUEST_USER") && NOTINCONTEXT("FORM")

This lets guest users enter the cell on a form and locks it for them outside form mode.