# Get full tag path

**URL:** <https://forum.inductiveautomation.com/t/get-full-tag-path/5737>\
**Category:** Ignition\
**Created:** [January 24, 2013, 3:03pm UTC](https://forum.inductiveautomation.com/t/get-full-tag-path/5737 "2013-01-24T15:03:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![quper](https://avatars.discourse-cdn.com/v4/letter/q/aeb1de/32.png) [@quper](https://forum.inductiveautomation.com/u/quper)\
**Post date:** [January 24, 2013, 3:03pm UTC](https://forum.inductiveautomation.com/t/get-full-tag-path/5737/1 "2013-01-24T15:03:40Z")

</div>

Hello, is there a way to get full tag path? Now it is possible to get Name.  
If I have tag in folder Folder1/TagName, can I get full path of that?  
I am trying to use template with numeric field and some event scripting inside, I need to use  
system.tag.writeToTag(full tag path, value).  
And I made “full tag path” as Custom Property for template. I would like to use it with simple tags binding all over the project.

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [January 24, 2013, 5:00pm UTC](https://forum.inductiveautomation.com/t/get-full-tag-path/5737/2 "2013-01-24T17:00:43Z")

</div>

I am not sure what you are asking. In order to bind a component to a tag you have to know the tag path ahead of time. You either bind it directly where the path is hard coded or indirectly where you derive the path. So when you setup your components or templates you should make them with a custom property for the tag path. Then you have that as a property to use throughout the project.

---

<div class="post-metadata">

**Author:** ![weertske](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weertske/32/3353_2.png) [@weertske](https://forum.inductiveautomation.com/u/weertske)\
**Post date:** [January 25, 2013, 4:03am UTC](https://forum.inductiveautomation.com/t/get-full-tag-path/5737/3 "2013-01-25T04:03:35Z")

</div>

If you are designing your template around UDTs, you can get the path to the tag from the UDT Meta.TagPath, followed by /{your tag name}. You can use this in Indirect Tags or in scripts (i.e. 'tagpathname = event.source.parent.PID.Meta.TagPath + ‘/SP\_Editable’ where SP\_Editable is the tag I want to point to.

---

<div class="post-metadata">

**Author:** ![quper](https://avatars.discourse-cdn.com/v4/letter/q/aeb1de/32.png) [@quper](https://forum.inductiveautomation.com/u/quper)\
**Post date:** [January 28, 2013, 8:46am UTC](https://forum.inductiveautomation.com/t/get-full-tag-path/5737/4 "2013-01-28T08:46:42Z")

</div>

Thank you.
