# How to get the full path of a BasicTagPath without the provider

**URL:** <https://forum.inductiveautomation.com/t/how-to-get-the-full-path-of-a-basictagpath-without-the-provider/117962>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [November 25, 2026, 10:24am UTC](https://forum.inductiveautomation.com/t/how-to-get-the-full-path-of-a-basictagpath-without-the-provider/117962 "2026-11-25T10:24:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielps1818](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@danielps1818](https://forum.inductiveautomation.com/u/danielps1818)\
**Post date:** [November 25, 2026, 10:24am UTC](https://forum.inductiveautomation.com/t/how-to-get-the-full-path-of-a-basictagpath-without-the-provider/117962/1 "2026-11-25T10:24:53Z")

</div>

Hi!

Do you know if there is any function to get the path without the provider in a BasicTagPath object?  
It possible to get the provider using `tag_path.getSource()`, but i'm not able to get the full path without the provider.

_I would prefet to not convert it to string and do transformations to it._

Any idea?  
Thx in advance!

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 25, 2026, 12:19pm UTC](https://forum.inductiveautomation.com/t/how-to-get-the-full-path-of-a-basictagpath-without-the-provider/117962/2 "2026-11-25T12:19:53Z")

</div>

Use [toStringPartial()](https://sdk.inductiveautomation.com/javadoc/ignition81/8.1.55/com/inductiveautomation/ignition/common/sqltags/model/AbstractTagPath.html#toStringPartial()) and add back the property, if present.
