# Single tag, tag-drop Perspective template

**URL:** <https://forum.inductiveautomation.com/t/single-tag-tag-drop-perspective-template/40726>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [November 17, 2020, 12:39pm UTC](https://forum.inductiveautomation.com/t/single-tag-tag-drop-perspective-template/40726 "2020-11-17T12:39:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [November 24, 2020, 5:28pm UTC](https://forum.inductiveautomation.com/t/single-tag-tag-drop-perspective-template/40726/2 "2020-11-24T17:28:34Z")

</div>

A couple of notes about setting up tag-drops:

1. 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).

2. 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` or `props.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.  
 ![Screen Shot 2020-11-24 at 9.10.30AM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/2/52f2a6d2f47a4ad294796be9bcd11e427820c2e4.png)

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.  
 ![Screen Shot 2020-11-24 at 9.21.53AM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/7/079fcf9e03c41054c2747672fc75f80c0e863050.png)

Now, you should build a View where you configure a `param` value of `tagPath`:  
 ![Screen Shot 2020-11-24 at 9.23.53AM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/b/eb23f5f09b6643b60f63a2d4322d7bfe8cdbf743.png)

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.

![Screen Shot 2020-11-24 at 9.26.56AM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/f/4fe1974c8cec3645a4efc1e16fc192e5b60e7d4d.png)

The only remaining step is to actually manually set `EmbeddedView.props.path` to the View which houses your components.

---

_[View the full topic](https://forum.inductiveautomation.com/t/single-tag-tag-drop-perspective-template/40726)._
