Initializing help system before first use

List of annotations

The following annotations are defined by mminsight.

insight.alias 
Used to provide an alternative name for an entity in the UI
Type
text
Scope
specific (must be attached to a declaration)
Note
The value is used in place of the entity name where appropriate in the UI.
insight.dataversion 
Reserved for future use - Used to specify the version of data within an app
Type
text
Scope
global (not attached to any declaration)
Note
The version of the data within the app.
insight.execmodes 
Category for user execution mode definitions.
insight.execmodes.UserExecMode 
Placeholder for a user-defined execution mode name
Note
'UserExecMode' must be a valid Mosel identifier (alphanumeric characters only, starting with a letter).
insight.execmodes.UserExecMode.preferredservice 
Preferred service for this execution mode.
Type
text
Note
A string value specifying the preferred service to use.
insight.execmodes.UserExecMode.descr 
A description of the execution mode
Type
text
Note
A string value used to provide a description for the execution mode.
insight.execmodes.UserExecMode.clearinput 
Whether this execution mode causes data to be loaded directly by the model, rather than from the Insight server
Type
boolean
Default value
false
Note
A Boolean value indicating whether this execution mode loads data directly from the model. If true, then this execution behaves like the default load mode.
insight.execmodes.UserExecMode.threads 
Thread count available for this execution mode.
Type
integer
Default value
unlimited
Note
An integer defining the available threads for this execution mode. If unspecified, defaults to unlimited number of threads.
insight.format 
The formatting string used for displaying numeric values.
Type
text
Scope
specific (must be attached to a declaration)
Note
The string value is taken as a formatting string.
insight.hidden 
Whether to hide an entity.
Type
text
Default value
false
Values
always
indicates that the UI should hide the entity always
false
indicates that the UI should show the entity where appropriate
true
indicates that the UI should hide the entity where appropriate
Scope
specific (must be attached to a declaration)
Note
If true, indicates that the UI should hide the entity where appropriate.
See also
insight.manage 
How and whether Insight handles an entity.
Type
text
Default value
default
Values
default
Entity is included in the input data if the model declares it as of basic type, and is included in the result data if the model declares it as of mp-type.
ignore
Excluded from the schema
input
Included in the scenario input data.
result
Included in the scenario results data
Scope
specific (must be attached to a declaration)
Note
Defines how the system manages the entity data.
See also
insight.nofinalize 
Prevent a set entity from being finalized during insightpopulate.
Type
text
Scope
specific (must be attached to a declaration)
Note
Specifies that the set entity should not be finalized during insightpopulate, regardless of the entity's properties in the Insight schema. This would usually be used if you needed to add additional values to a previously-finalized set following a model upgrade. NB The value of this annotation is not used - its presence indicates that the set should not be finalized.
See also
insight.onupgrade.allowdelete 
Name of entity to delete on upgrade without checks
Type
text
Note
Reserved for internal use.
insight.onupgrade.allowdeleteall 
On upgrade delete any entity marked for deletion without checks
Type
text
Type
text
Note
Reserved for internal use.
insight.readonly 
Whether an entity is readonly.
Type
boolean
Default value
false
Scope
specific (must be attached to a declaration)
Note
Specifies that the value(s) of the entity cannot be modified.
See also
insight.resultdata.delete 
When to delete scenario results data.
Type
text
Default value
on-change
Values
on-change
Delete scenario result data when the scenario input-data is edited, or when scenario is queued for execution.
on-execute
Delete scenario result data when scenario starts to execute.
on-queue
Delete scenario result data when scenario is queued for execution.
Scope
global (not attached to any declaration)
Note
Results data is deleted when a certain state change occurs for the scenario. This attribute identifies this state change as either whevever a scenario is modified, when it is queued, or when it begins execution.
See also
insight.scentypes 
Category for scenario type definitions.
Note
Reserved for internal use.
insight.transform.labels.entity 
An entity in the schema to be used as a labels entity.
Type
text
Scope
specific (must be attached to a declaration)
Note
The value is the name of the entity. The type of the index set of the labels entity much match the data type of this entity. The data type of the labels entity can be any primitive type.
insight.update.afterexecution 
Whether the value of the input entity in the scenario is updated with the value of the corresponding model entity at the end of the scenario execution.
Type
boolean
Default value
false
Scope
specific (must be attached to a declaration)
Note
If true the value of the input entity is updated to correspond with the model entity after execution.