2024 April Release

COOAR@1.1:modulevisibleexpr Permanent link for this heading

Expression for Additional Restrictions of Usage

The expression must result in true, so that the text module can be used, otherwise it is not shown in the dialog when inserting text modules. The text module can be inserted in templates if COOAR@1.1001:usefortemplates evaluates to false. This expression will also be evaluated when resolving linked text modules and placeholder text modules. It is executed on the context object, which is the object into which the text module should be inserted.
Note: This expression is evaluated in a secured mode for expressions, so only attributes and actions which are tagged as secured can be used within this expression.
The local scope of this expression contains the context object.


Explanation:
Defines an app.ducx expression that is executed on the context object (template or instance). The expression must result in true, so that the text module can be used (see also modulevisibleexpr).

string[] COOAR@1.1:modulevisibleexpr (
  object ::textmodule)

Local Scope: object
Global Scope: dictionary
Returns: boolean

Name

Description

::textmodule

the text module object itself