2022 June Release

COOSYSTEM@1.1:attraccsetexpr Permanent link for this heading

Expression for Computing the "Access Types for Changing Property"

This expression is evaluated to determine a list of access types (AccessType) to change the property.
The current user must have access to the current object via at least one of these access types (based on the ACL evaluation of the Fabasoft Folio Kernel) in order to change the value of this property.

string[] COOSYSTEM@1.1:attraccsetexpr readonly(inst)(
  object ::root,
  AttributeDefinition ::attribute,
  any ::value,
  boolean ::isvalue,
  boolean ::isedit,
  boolean ::iseditcommon,
  boolean ::isdashboard,
  boolean ::issingleattribute,
  Action ::context)

Local Scope: dictionary
Global Scope: dictionary
Returns: AccessType[]

Name

Description

::root

contains the object the expression is evaluated for. ::root is identical to cooobj.

::attribute

contains the property the expression is evaluated for.

::value

the current value of the property.

::isvalue

contains true if the form is used for displaying values (edit mode or read-only mode) opposed to query mode (see valuetype in ApplicationView).

::isedit

contains true if the form is in edit mode opposed to read-only mode (see edittype in ApplicationView). ::isedit is only valid if ::isvalue is true.

::iseditcommon

contains true if the form is used to edit common properties of multiple objects. ::iseditcommon is only valid if ::isvalue is true. In this case ::root/cooobj refer to the first object of the selection.

::isdashboard

contains true if the property is displayed in a dashboard.

::issingleattribute

contains true if the property is displayed in single attribute mode, i. e. when all other properties of a form page are hidden.

::context