Set the Context Mode for a Workspace
- Last UpdatedJul 13, 2023
- 2 minute read
Context mode is a workspace setting that determines if the autofill process will respond to equipment on higher and lower levels of the equipment hierarchy when context changes.
There are three context modes you can use:
-
CurrentOnly — only the current piece of equipment is considered when panes scan for the type of content they are configured to display.
-
CurrentThenUp — the current piece of equipment is considered when panes scan for matching content. When this process is complete, content types on higher levels of the equipment hierarchy are matched with any remaining panes.
-
CurrentThenUpThenDown — the current piece of equipment is considered when panes scan for matching content. When this process is complete, equipment on higher levels in the equipment hierarchy are matched with any remaining panes, then equipment on lower levels of the hierarchy.
The Context Mode setting should be consistent across all clients in a system.
See Autofill for configuration examples.
Set context mode in the project database
If your project was created using the Situational Awareness Starter Project, the ContextMode parameter will already be included as a database parameter with a default value of 3 (CurrentThenUpThenDown). To configure the parameter:
-
In the Setup activity, select Parameters.
-
In the Section Name column, locate or enter "Workspace".
-
In the Name column, locate or enter "ContextMode".
-
Enter the Value that represents the context mode you would like to use:
-
1 = CurrentOnly
-
2 = CurrentThenUp
-
3 = CurrentThenUpThenDown.
-
-
Click Save to add the record to the database.
If you set (or change) parameters in the project database, you need to re-compile the project before the new parameter settings are used.
For a description of a workspace, see Key Components of a Situational Awareness Project.