A couple of notes about setting up tag-drops:
-
Our settings allow for specifying what components should be used for a tag value type, ie: When I drop a tag which has a value which is an integer, I want to select from X, Y, Z component types (usually Label, Numeric Entry Field, Slider - something like that).
-
Our settings allow for specifying when using a component what properties of that component should then be bound to the tag which was dropped, ie:
props.value
orprops.text
.
We don’t have a way to configure “when I drop a tag, use MyView as the template”. The closest you’re going to get right now is the following:
For the tag value type you plan on dropping, specify you would like to have the option to use an Embedded View.
Next, you should specify that when an Embedded View is used, we should bind the path of the tag to props.params.tagPath
of the Embedded View we will use.
Now, you should build a View where you configure a param
value of tagPath
:
From here, what you need to do is build out the components of the View to bind against the Tag Path specified in the param (it is at this point tat you would specify .value
or .quality
or .name
as part of the tag path.
The only remaining step is to actually manually set EmbeddedView.props.path
to the View which houses your components.