# Ignition Edge remote tag provider can't access database for query tags

**URL:** <https://forum.inductiveautomation.com/t/ignition-edge-remote-tag-provider-cant-access-database-for-query-tags/107437>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 16, 2025, 6:16pm UTC](https://forum.inductiveautomation.com/t/ignition-edge-remote-tag-provider-cant-access-database-for-query-tags/107437 "2025-06-16T18:16:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![amanda.fleury](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@amanda.fleury](https://forum.inductiveautomation.com/u/amanda.fleury)\
**Post date:** [June 16, 2025, 6:16pm UTC](https://forum.inductiveautomation.com/t/ignition-edge-remote-tag-provider-cant-access-database-for-query-tags/107437/1 "2025-06-16T18:16:23Z")

</div>

I currently have two Ignition gateways: an edge gateway to interface with many remote PLCs, and a cloud gateway with perspective for building views, etc. The edge gateway acts as a remote tag provider to the cloud gateway. I also have some organizational/admin information in a postgres db.

In trying to build out the UDT to describe a piece of equipment, I'm running into the problem that I can access the PLC tags from the remote (edge) tag provider, and can access the database from a separate tag provider on the cloud, but I have no way of accessing both and combining into one UDT. For example, I have pump speed from the edge tag provider, and pump name and location from the database. **Is there a way to combine tag providers?** Alternatively, I'd be happy to use query tags in the edge tag provider, but it can't 'see' the db.

The workaround I'm currently using is to run a db query on a schedule and save the result to a dataset tag. I then use expression tags in the UDT to look up the equipment name, location, etc from the dataset tag. Can anyone see any major drawbacks from this approach?

Thanks!

---

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [June 16, 2025, 6:57pm UTC](https://forum.inductiveautomation.com/t/ignition-edge-remote-tag-provider-cant-access-database-for-query-tags/107437/2 "2025-06-16T18:57:43Z")

</div>

I'm fairly certain that edge cannot access external databases.

What's your ultimate goal? Display the database information on the edge display?

---

<div class="post-metadata">

**Author:** ![amanda.fleury](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@amanda.fleury](https://forum.inductiveautomation.com/u/amanda.fleury)\
**Post date:** [June 16, 2025, 7:46pm UTC](https://forum.inductiveautomation.com/t/ignition-edge-remote-tag-provider-cant-access-database-for-query-tags/107437/4 "2025-06-16T19:46:16Z")

</div>

Thanks for a prompt reply! Ultimate goal is a cohesive UDT with PLC tags + admin information for display and editing from the views built on the cloud gateway.

---

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [June 16, 2025, 8:16pm UTC](https://forum.inductiveautomation.com/t/ignition-edge-remote-tag-provider-cant-access-database-for-query-tags/107437/5 "2025-06-16T20:16:29Z")

</div>

Where is the admin info displayed?

---

<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:** [June 17, 2025, 2:26am UTC](https://forum.inductiveautomation.com/t/ignition-edge-remote-tag-provider-cant-access-database-for-query-tags/107437/6 "2025-06-17T02:26:37Z")

</div>

> [@amanda.fleury](#):
>
> Ultimate goal

So, you need a database connection in your facility(ies). Upgrade Edge to Standard. You are trying to create an architecture that is not intended to be possible on Edge.

---

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [June 17, 2025, 1:40pm UTC](https://forum.inductiveautomation.com/t/ignition-edge-remote-tag-provider-cant-access-database-for-query-tags/107437/7 "2025-06-17T13:40:26Z")

</div>

If you need to display information from the database on the edge, Phil is correct. You'll need to upgrade if you want to do something other than somehow triggering the query at the cloud level and pushing the data into tags on the edge.

However, if you only want to display the information from the database on the cloud this is how I would handle it:

There are 2 options that I can see that both involve 2 UDTs, I think I prefer the second.

1. One "Edge" UDT and one "Cloud" UDT where the cloud UDT inherits from the edge.  
a. This would require you to set up an EAM job that would need to be run manually to sync the base UDT from the edge to the cloud tag providers any time the UDT on the edge changes.
2. One "Edge" UDT and one "Cloud" UDT where the cloud UDT includes a parameter that is the path to the corresponding Edge UDT instance in the remote tag provider.  
a. Your views would then indirect reference everything for the edge UDT using that path parameter.
