Property Dataset
A Property Dataset is a Context API that holds the data for a set of properties.
It is required for the umb-property
element to have a Property Dataset provided. It can be provided via JavaScript code or an Element as documented below.
Property dataset component
The umb-property-dataset
component provides a Property Dataset Context for any properties within. This provides a way to implement such purely via Elements.
In the following example a dataset is implemented by using the umb-property-dataset
component together with with two umb-property
components:
Consume values
Since a Property Dataset is a Context any descending code can consume it and utilize the values.
Such a case could be a Workspace View that wants to display the value of a specific property.
The following example shows how to consume the Property Dataset and observe the value of a property with the alias of my-property-alias
.
Last updated