Viewing Model Views
Model views can be viewed by double-clicking a model view in the model view table, or by selecting a model view and clicking the Edit icon in the Model View Manager tool bar. The model view is open for both viewing and editing if the user has edit rights to the model view. The model view is opened in a read-only mode if the user does not have permission to edit it. The default Data Selector model view and scan job model view that is included in your OpenSpirit installation cannot be edited. Make a copy in order to edit them. This restriction insures that updates to your OpenSpirit installation that include changes to the default model views not impact any changes made by customers.
A warning message is displayed when opening a model view that the user does not have write access to.
Pressing the Ok button opens the model view in read-only mode. Changes to the model view cannot be made when opened in read-only mode.
The upper right section of the model view window displays the model view header information. This includes the name of the data model that the model view is based on. It also shows the name of the model view, the type (Data Selector or Scan Job), the visibility scope (Public or Private), the version of the model view, and any description that was given to the model view.
The lower left section of the model view window displays the data types and data type groups that make up the data model that the model view is based on. The lower right section of the model view window shows the model view data types and groups. Clicking the description icon next to a model view data type opens a window that displays the description given to the model view data type by the person constructing the model view.
The window also displays the description of the data type from the data model.
The model view data type description appears as the tool tip when hovering the mouse pointer over the data type tab in the Data Selector tool.
Clicking the configure icon next to a model view data type in the lower right section of the model view window displays the model view data type details window for the model view data type. The Select Attributes tab on the details window lists all of the attributes available for the data model data type that the model view data type was derived from. The following example shows the Well model view data type from the OpenSpirit Default model view, which was derived from the Well Bore data type from the OpenSpirit v2.9 data model.
The Available column indicates if an attribute available for display in tools using this model view.
The Displayed column indicates if the attribute is turned on for display by default. The attribute must be available in order to be displayed by default.
The Display Name column shows the name that appears in the Data Selector column header for the attribute.
The Data Type Attribute column shows the display name of the attribute in the data model, in this case the OpenSpirit v2.9 data model.
The Data Type column shows the display name of the data model data type that the attribute belongs to. This column is useful when joining multiple data model data types into a single model view data type.
The Attribute Type column indicates the type of the attribute (for example, TIMESTAMP, FLOAT_QUANTITY, VARCHAR).
Clicking an attribute's Description icon opens a window that displays the description that was given to the attribute. The attribute description appears as a tool tip when hovering the mouse over the attribute's column header in the Data Selector.
Clicking an attribute's Properties icon opens a window that displays properties that have been assigned to the model view attribute. Properties are used to indicate special handling for some attributes in tools that use the model view, such as the Scan Job Manager.
Clicking an attribute's Format icon opens a window that shows any custom display format settings that have been applied to the attribute. The model view attribute's display format settings override any default display settings in the desktop preference settings.
The Relationships section at the bottom of the window lists all related data types that are available to join into the model view data type.
The Apply Query Filter tab of the model view data type details window shows any query filter that has been configured for the model view data type.
Query filters can be added to a model view data type to constrain it to display a subset of the data that is available in the data source. See the help documentation for the Data Selector Query Filter Window for instruction in using the query filter builder.
The bottom section of the Apply Query Filter tab shows the default View Scope and default Spatial Attribute to use for the model view data type.
The Settings and Properties tab of the model view data type details window shows if the data type's tab is turned on for display in the Data Selector by default, and it shows if sending data selection events for the rows in the Data Selector tab is allowed.
The User-Defined Properties section at the bottom of the Settings and Properties tab shows any properties that have been assigned to the data type. Properties are sometimes used to signal special handling for some tools, such as the Scan Job Manager tool.