View Attribute: Difference between revisions

From PHENOM Portal Knowledgebase
Jump to navigation Jump to search
(Created page with "A View Attribute can be also referred to as view characteristic or view field. == Creating & Editing View Attributes == To create a new View Attribute, click the "Create" button in the Attributes section of a View details page: IMAGE A View Attribute must have: * A unique and conformant name * An Observable * A Measurement * A path === Name === The attribute's name must consist of letters, numbers, or underscores and start with a letter. === Observable/Measu...")
 
No edit summary
Line 15: Line 15:
The attribute's name must consist of letters, numbers, or underscores and start with a letter.
The attribute's name must consist of letters, numbers, or underscores and start with a letter.


=== Observable/Measurement ==
=== Observable/Measurement ===
The user can either start by selecting an Observable and then the Measurement - the Measurement list will be filtered to the Measurements realizing the selected Observable - or select the Measurement first which will automatically select the Observable the Measurement realizes.
The user can either start by selecting an Observable and then the Measurement - the Measurement list will be filtered to the Measurements realizing the selected Observable - or select the Measurement first which will automatically select the Observable the Measurement realizes.


Line 28: Line 28:
Each hop must be committed by clicking the checkmark before being able to move to the next. A hop can be removed by clicking the x next to the new hop box.
Each hop must be committed by clicking the checkmark before being able to move to the next. A hop can be removed by clicking the x next to the new hop box.


After committing a hop, if there are additional hops you can make, they will appear in the clickable list, otherwise the text "No Possible Options" will appear.
After committing a hop, if there are additional hops that can be added, they will appear in the clickable list, otherwise the text "No Possible Options" will appear.
Additionally, the path you're creating will render directly below Path.


Saving
The current path of the attribute is rendered under the Path section title.
Once you've set all of the above required fields, click the Save button on the bottom right corner.
If the characteristic saved, you should get a green popup stating it was saved successfully:


Creating a Nesting View Attribute
A nesting view field can either be a "Foreign Reference" or a "Privately Scoped" attribute.


The attribute is marked as "privately scoped" when the checkbox is checked.
== Creating & Editing Nesting View Attributes ===
The attribute is marked as "foreign reference" when the checkbox is unchecked. New nesting view fields will default to foreign reference.
A Nesting View Attribute can either be a "Foreign Reference" or a "Privately Scoped" attribute. If the Private checkbox is checked, then the attribute is marked as "Privately Scoped" otherwise, it is marked as "Foreign Reference". New Nesting View Attribute defaults to Foreign Reference.




Creating a nesting view field:
A Nesting View Attribute must point to a view with a uniform projected characteristic. The foreign referenced Nesting View Attribute's uniform projected characteristic must match the type of the last hop of the perspective path used by any field that nests it.


The nesting view field must point to a view with a uniform projected characteristic.
The foreign referenced nesting view field's uniform projected characteristic must match the type of the last hop of the perspective path used by any field that nests it.
Fill in the desired fields and click save when finished.


 
Note that when switching from a Nesting to a Composite View, the Path/Perspective attribute and the Private attribute are cleared on save.
 
Creating a nesting view field within a Composite View:
 
When switching from Nesting to a Composite View.  The Path/Perspective attribute and the Private attribute is cleared on save.

Revision as of 13:42, 27 September 2022

A View Attribute can be also referred to as view characteristic or view field.

Creating & Editing View Attributes

To create a new View Attribute, click the "Create" button in the Attributes section of a View details page:

IMAGE

A View Attribute must have:

  • A unique and conformant name
  • An Observable
  • A Measurement
  • A path

Name

The attribute's name must consist of letters, numbers, or underscores and start with a letter.

Observable/Measurement

The user can either start by selecting an Observable and then the Measurement - the Measurement list will be filtered to the Measurements realizing the selected Observable - or select the Measurement first which will automatically select the Observable the Measurement realizes.

Primitive

Once the Measurement is selected, the user needs to choose the attribute's primitive (this is later used to assert a Platform Type).

[[]]

Path

To add a path to the attribute, the user must add a semantic path using the path builder. The path is built hop by hop, starting with the entity/association attribute typing the selected observable.

Each hop must be committed by clicking the checkmark before being able to move to the next. A hop can be removed by clicking the x next to the new hop box.

After committing a hop, if there are additional hops that can be added, they will appear in the clickable list, otherwise the text "No Possible Options" will appear.

The current path of the attribute is rendered under the Path section title.


Creating & Editing Nesting View Attributes =

A Nesting View Attribute can either be a "Foreign Reference" or a "Privately Scoped" attribute. If the Private checkbox is checked, then the attribute is marked as "Privately Scoped" otherwise, it is marked as "Foreign Reference". New Nesting View Attribute defaults to Foreign Reference.


A Nesting View Attribute must point to a view with a uniform projected characteristic. The foreign referenced Nesting View Attribute's uniform projected characteristic must match the type of the last hop of the perspective path used by any field that nests it.


Note that when switching from a Nesting to a Composite View, the Path/Perspective attribute and the Private attribute are cleared on save.