# Get Tag Provider against a Project name

**URL:** <https://forum.inductiveautomation.com/t/get-tag-provider-against-a-project-name/102546>\
**Category:** Ignition\
**Created:** [February 19, 2025, 10:42am UTC](https://forum.inductiveautomation.com/t/get-tag-provider-against-a-project-name/102546 "2025-02-19T10:42:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![SARAVANAN\_G](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@SARAVANAN\_G](https://forum.inductiveautomation.com/u/SARAVANAN_G)\
**Post date:** [February 19, 2025, 10:42am UTC](https://forum.inductiveautomation.com/t/get-tag-provider-against-a-project-name/102546/1 "2025-02-19T10:42:27Z")

</div>

Hello team,

I want to get the tag provider against a project name. Not getting from default tag provider tag.

consider i am in project 1, from there i want to get the project 2 's tag provider.

is there any possible to get the tag provider.

please support me on this.

thanks in advance!!

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [February 19, 2025, 11:27am UTC](https://forum.inductiveautomation.com/t/get-tag-provider-against-a-project-name/102546/2 "2025-02-19T11:27:52Z")

</div>

Tag providers are not project resources, so you'll need to describe what you need in more details.

---

<div class="post-metadata">

**Author:** ![SARAVANAN\_G](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@SARAVANAN\_G](https://forum.inductiveautomation.com/u/SARAVANAN_G)\
**Post date:** [February 19, 2025, 12:02pm UTC](https://forum.inductiveautomation.com/t/get-tag-provider-against-a-project-name/102546/3 "2025-02-19T12:02:22Z")

</div>

Hello @pascal.fragnoud ,

Thank you for your reply.

Consider,  
project name 1 - Test\_1  
project name 1 tag provider - default  
project name 2 - Test\_2

Now i want to fetch the tag provider of Test\_1 from Test\_2.

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [February 19, 2025, 1:04pm UTC](https://forum.inductiveautomation.com/t/get-tag-provider-against-a-project-name/102546/4 "2025-02-19T13:04:24Z")

</div>

So you mean the tag provider that's configured as the default tag provider for a specific project ?  
I don't think you can do that.

Why do you need that ? What are you trying to do ?

---

<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:** [February 19, 2025, 1:23pm UTC](https://forum.inductiveautomation.com/t/get-tag-provider-against-a-project-name/102546/5 "2025-02-19T13:23:15Z")

</div>

> [@pascal.fragnoud](#):
>
> I don't think you can do that.

You can do that with SDK api calls, in gateway scope only, to the gateway's project manager.

(Utterly unsupported.)

Start here:

[GatewayContext.getProjectManager()](https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.45/com/inductiveautomation/ignition/gateway/model/GatewayContext.html#getProjectManager())

(I recommend using my Integration Toolkit module's `system.util.toolkitCtx()` function to obtain the gateway context.)

---

<div class="post-metadata">

**Author:** ![Lynn\_Martineau](https://avatars.discourse-cdn.com/v4/letter/l/f1d935/32.png) [@Lynn\_Martineau](https://forum.inductiveautomation.com/u/Lynn_Martineau)\
**Post date:** [February 19, 2025, 2:54pm UTC](https://forum.inductiveautomation.com/t/get-tag-provider-against-a-project-name/102546/6 "2025-02-19T14:54:50Z")

</div>

Why not just create tags that hold the name of the project's tag provider?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/8/483e7eafe34eecd5800c9a78edf3370f98948685.png)

Any time you need to know, just read the tag of interest.

---

<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:** [February 19, 2025, 3:10pm UTC](https://forum.inductiveautomation.com/t/get-tag-provider-against-a-project-name/102546/7 "2025-02-19T15:10:47Z")

</div>

> [@Lynn\_Martineau](#):
>
> create tags that hold the name of the project's tag provider?

How will you make sure that stays correct? Which provider will you put those in?

---

<div class="post-metadata">

**Author:** ![Lynn\_Martineau](https://avatars.discourse-cdn.com/v4/letter/l/f1d935/32.png) [@Lynn\_Martineau](https://forum.inductiveautomation.com/u/Lynn_Martineau)\
**Post date:** [February 19, 2025, 3:32pm UTC](https://forum.inductiveautomation.com/t/get-tag-provider-against-a-project-name/102546/8 "2025-02-19T15:32:28Z")

</div>

I'd place those in default.  
The tag provider for a project _ **should** _ be very static.  
I'm assuming the need for project 1 to know the tag provider for project 2 is to build tag strings  
`"[%s]tagName" %proj2TagProvider`  
The Dev Team will need to know how to use those tags and to not mess with the values.  
_edit: obviously I didn't put them in default in my example screen grab; just made a quick-n-dirty example._
