# How to Creat Tag Provider by Script

**URL:** <https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955>\
**Category:** Ignition\
**Created:** [September 11, 2023, 8:39am UTC](https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955 "2023-09-11T08:39:15Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rui\_Gao](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@Rui\_Gao](https://forum.inductiveautomation.com/u/Rui_Gao)\
**Post date:** [September 11, 2023, 8:39am UTC](https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955/1 "2023-09-11T08:39:15Z")

</div>

I want to creat tag by web dev, it is ok ,but I must use current tag provider ,So I Want to Auto Creat one Tag Provider!if it is impossible,I wish ignition engineer can Develop a system interface

---

<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:** [September 11, 2023, 10:53am UTC](https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955/2 "2023-09-11T10:53:43Z")

</div>

Sounds like the wrong solution to your problem, but the problem isn't clear.

What's your use case ?

---

<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:** [September 11, 2023, 11:40am UTC](https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955/3 "2023-09-11T11:40:55Z")

</div>

> [@Rui\_Gao](#):
>
> I must use current tag provider

Explain this part of your problem.

---

<div class="post-metadata">

**Author:** ![Rui\_Gao](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@Rui\_Gao](https://forum.inductiveautomation.com/u/Rui_Gao)\
**Post date:** [October 10, 2023, 2:11am UTC](https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955/4 "2023-10-10T02:11:09Z")

</div>

I want auto creat tag provider by web dev,but current system functions not provide this function

---

<div class="post-metadata">

**Author:** ![Rui\_Gao](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@Rui\_Gao](https://forum.inductiveautomation.com/u/Rui_Gao)\
**Post date:** [October 10, 2023, 2:15am UTC](https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955/5 "2023-10-10T02:15:02Z")

</div>

Tag Group can not Creat by system function

---

<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:** [October 10, 2023, 7:08am UTC](https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955/6 "2023-10-10T07:08:00Z")

</div>

But why ? I can't think of a reason to do this.  
Try to explain what problem you're trying to solve.

---

<div class="post-metadata">

**Author:** ![Kyle\_Chase](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@Kyle\_Chase](https://forum.inductiveautomation.com/u/Kyle_Chase)\
**Post date:** [October 11, 2023, 1:05pm UTC](https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955/7 "2023-10-11T13:05:18Z")

</div>

What is the use case? What are you trying to do? You can create tags in the default tag provider from webdev.

---

<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:** [October 11, 2023, 1:26pm UTC](https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955/8 "2023-10-11T13:26:03Z")

</div>

> [@Rui\_Gao](#):
>
> Tag Group can not Creat by system function

Correct. This is a gap in IA's `system.tag.*` library functions. You should make a feature request.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [October 11, 2023, 4:09pm UTC](https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955/9 "2023-10-11T16:09:30Z")

</div>

Existing thread tracking customer engagement:

> [@\[Feature-2684\]Scripting - Tag group - Create / Delete](https://forum.inductiveautomation.com/t/feature-2684-scripting-tag-group-create-delete/47293):
>
> 8.1.5 I don’t find any exemple to manage, create, delete tag group with scripting. Is there a way to do that ?

---

<div class="post-metadata">

**Author:** ![Rui\_Gao](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@Rui\_Gao](https://forum.inductiveautomation.com/u/Rui_Gao)\
**Post date:** [October 12, 2023, 7:25am UTC](https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955/10 "2023-10-12T07:25:51Z")

</div>

one project's tag put one sama tag provider, not use 'default',  
I have many project in one gateway,so i wish to split them

---

<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:** [October 12, 2023, 7:38am UTC](https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955/11 "2023-10-12T07:38:39Z")

</div>

Yes, but why do you need to create them **with a script**?

---

<div class="post-metadata">

**Author:** ![Rui\_Gao](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@Rui\_Gao](https://forum.inductiveautomation.com/u/Rui_Gao)\
**Post date:** [October 12, 2023, 7:40am UTC](https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955/12 "2023-10-12T07:40:44Z")

</div>

Because I have a control center that sends tag information to the gateway interface to automatically creat tags, we want to store the tags by project name

---

<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:** [October 12, 2023, 7:43am UTC](https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955/13 "2023-10-12T07:43:04Z")

</div>

That doesn't explain why you would need to **create tag providers with a script**.  
Create your tag providers in the easiest way there is: Through the web interface.  
Then select them accordingly to what project you want to create tags on.

---

<div class="post-metadata">

**Author:** ![Rui\_Gao](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@Rui\_Gao](https://forum.inductiveautomation.com/u/Rui_Gao)\
**Post date:** [October 12, 2023, 7:46am UTC](https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955/14 "2023-10-12T07:46:09Z")

</div>

I hope to reduce the operation steps, the steps of creat tags can be handed over to the web dev interface script, I just need to send information to the web dev interface

---

<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:** [October 12, 2023, 8:11am UTC](https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955/15 "2023-10-12T08:11:37Z")

</div>

Creating tags and creating tag **PROVIDERS** are not the same thing.

You don't need to create tag providers by script to be able to create tags by script.

---

<div class="post-metadata">

**Author:** ![bmeyers](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bmeyers/32/37453_2.png) [@bmeyers](https://forum.inductiveautomation.com/u/bmeyers)\
**Post date:** [October 24, 2023, 7:21pm UTC](https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955/16 "2023-10-24T19:21:36Z")

</div>

I have a project that automatically creates tags when a user adds a workstation to the system which depends on a tag provider existing. If I restore my project to a new server, which I've done 3 times this year, I have to manually create the tag providers before the restored project will work correctly. I get an error message that states "this tag provider does not exist". It would be nice if system.tag.configure

[https://docs.inductiveautomation.com/display/DOC81/system.tag.configure](https://docs.inductiveautomation.com/display/DOC81/system.tag.configure)

was able to create the tag provider for me if it didn't already exist.

---

<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:** [October 24, 2023, 7:30pm UTC](https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955/17 "2023-10-24T19:30:05Z")

</div>

How would it know what **kind** of tag provider to create?

---

<div class="post-metadata">

**Author:** ![bmeyers](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bmeyers/32/37453_2.png) [@bmeyers](https://forum.inductiveautomation.com/u/bmeyers)\
**Post date:** [October 24, 2023, 7:44pm UTC](https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955/18 "2023-10-24T19:44:12Z")

</div>

I don't know? Magic maybe?

---

<div class="post-metadata">

**Author:** ![Jackson\_Lancaster](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@Jackson\_Lancaster](https://forum.inductiveautomation.com/u/Jackson_Lancaster)\
**Post date:** [May 8, 2024, 6:38pm UTC](https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955/19 "2024-05-08T18:38:27Z")

</div>

I have a case where I need to create 43 local tag providers.  
This is definitely a justifiable situation where creating 43 by hand is very time consuming.

It is a one time work, but if this could be automated it would be helpful.

---

<div class="post-metadata">

**Author:** ![jonah.haekel](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@jonah.haekel](https://forum.inductiveautomation.com/u/jonah.haekel)\
**Post date:** [May 8, 2024, 7:44pm UTC](https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955/20 "2024-05-08T19:44:20Z")

</div>

I also have situations where creating by script would be useful. Working on a scaled out architecture with 3 visualization servers, 4 tags servers, and dozens of edges. The alarm syncing on the edges is being done by remote provider. All these gateways are managed by one central one that pushes change via scripts and EAM. Would be useful for me to create these remote providers via a script, rather than logging into each individual gateway to configure.

[Next page](https://forum.inductiveautomation.com/t/how-to-creat-tag-provider-by-script/78955.md?page=2)
