Expression for Calculating the Control Options (Overrides Property Definition)
attrcontroloptionsexpr
.itemcontroloptionsexpr
).
string[] COOATTREDIT@1.1:itemcontroloptionsexpr
(
object ::root,
AttributeDefinition ::attribute,
boolean ::isvalue,
boolean ::isedit,
boolean ::iseditcommon,
boolean ::isdashboard,
boolean ::iscalcwidget,
Action ::context)
Local Scope: dictionary
Global Scope: dictionary
Returns: dictionary
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.
|
::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. |
::iscalcwidget |
::isdashboard and ::iscalcwidget are used to determine whether a
dashboard will be visible or not:
First, the expression is called to determine if the page should be displayed in the dashboard. |
::context |
contains the view action which is used to determine the form.
Typical view actions are:
|