# \[IGN-4846\]Rename Tag Providers in cloned project

**URL:** <https://forum.inductiveautomation.com/t/ign-4846-rename-tag-providers-in-cloned-project/51650>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [October 6, 2021, 8:37am UTC](https://forum.inductiveautomation.com/t/ign-4846-rename-tag-providers-in-cloned-project/51650 "2021-10-06T08:37:50Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![m.pelagatti](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/m.pelagatti/32/68595_2.png) [@m.pelagatti](https://forum.inductiveautomation.com/u/m.pelagatti)\
**Post date:** [October 6, 2021, 8:37am UTC](https://forum.inductiveautomation.com/t/ign-4846-rename-tag-providers-in-cloned-project/51650/1 "2021-10-06T08:37:50Z")

</div>

Hi at all,  
i have a question :  
I have created a project in ignition (vision) and the tags in the whole project are tied to the tag provider [default].

in the same gateway I have to create another project, starting from this one, and then I created another provider tag referring to the new , named [ciptags].

Opening the new project (clone of other), i imported tags from [default] to [ciptags], and i tried to rename with find / replace [default] with [ciptags] in all project, but I had problems with templates and had to re-run the find / replace command several times. Some templates return an error and do not connect correctly even if the path is correct.

What is the correct way to rename the provider tag throughout the project?

I use Ignition 8.1.9 vision

Thanks

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 6, 2021, 9:03am UTC](https://forum.inductiveautomation.com/t/ign-4846-rename-tag-providers-in-cloned-project/51650/2 "2021-10-06T09:03:38Z")

</div>

I've seen something similar as well. If you go into your templates and check your binding values, are they looking at the correct tag or still using the old tag path?

For me, I was using 8.1.5 and for example had a Template that had a few properties defined, 2 of which were:

- parentTagPath (Template parameter)
- tagPath (Internal custom property)

`tagPath` was bound to an expression that used `parentTagPath`. I used find and replace to replace parts in the `parentTagPath`, but the `tagPath` never updated. The `parentTagPath` was showing correctly renamed. I tried saving the template, restarting the gateway to no avail. The only thing that I found to fix it was to re-save the binding on `tagPath` - no change to it, just open it and press OK. Then it came good. I had to do this **MANY** times...

I posted the bug here:

> [@\[BUG\] Find/Replaced values in Templates didn't fire bindings](https://forum.inductiveautomation.com/t/bug-find-replaced-values-in-templates-didnt-fire-bindings/51527):
>
> v8.1.5 I’m moving two independent projects on different gateways onto a single gateway and had to move the majority of tags from one project into a new area folder due to rebranding. I.e. my tags were originally located in: Old Site/Packaging/Folder/Tag and now they need to move to New Site/Packaging/Folder/Tag. Due to this I then also had to do a bulk find/replace to rename binding links. After doing this however, the bindings haven’t actually updated. The tag paths have updated, but the bindi…

---

<div class="post-metadata">

**Author:** ![m.pelagatti](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/m.pelagatti/32/68595_2.png) [@m.pelagatti](https://forum.inductiveautomation.com/u/m.pelagatti)\
**Post date:** [October 6, 2021, 10:08am UTC](https://forum.inductiveautomation.com/t/ign-4846-rename-tag-providers-in-cloned-project/51650/3 "2021-10-06T10:08:08Z")

</div>

> [@nminchin](#):
>
> I’ve seen something similar as well. If you go into your templates and check your binding values, are they looking at the correct tag or still using the old tag path?

Yes is correct path, but not work...  
Then have you found the correct way to do rename tag provider?

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 6, 2021, 10:09am UTC](https://forum.inductiveautomation.com/t/ign-4846-rename-tag-providers-in-cloned-project/51650/4 "2021-10-06T10:09:41Z")

</div>

I only had a few references to my default tag provider that I changes with find/replace, but most of my references imply the project’s default tag provider which I changed to my new tag provider.

Do you have a screenshot of an example of your bindings that aren’t working?

---

<div class="post-metadata">

**Author:** ![m.pelagatti](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/m.pelagatti/32/68595_2.png) [@m.pelagatti](https://forum.inductiveautomation.com/u/m.pelagatti)\
**Post date:** [October 6, 2021, 10:14am UTC](https://forum.inductiveautomation.com/t/ign-4846-rename-tag-providers-in-cloned-project/51650/5 "2021-10-06T10:14:31Z")

</div>

So in the tag reference paths around the project you have omitted "[default] xxxxx / xxxx" for only xxxxx / xxxx, so it use the default provider tag in the project settings?

> [@nminchin](#):
>
> Do you have a screenshot of an example of your bindings that aren’t working?

Not now, i have restored gateway to try again, i will try and i will send 🙂

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 6, 2021, 10:16am UTC](https://forum.inductiveautomation.com/t/ign-4846-rename-tag-providers-in-cloned-project/51650/6 "2021-10-06T10:16:59Z")

</div>

Yep, instead of:

```auto
[default]Area/Pump 1/Status

```

I use:

```auto
Area/Pump 1/Status

```

which then takes the tag provider from the default tag provider configured in the Project properties under Tools.

---

<div class="post-metadata">

**Author:** ![m.pelagatti](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/m.pelagatti/32/68595_2.png) [@m.pelagatti](https://forum.inductiveautomation.com/u/m.pelagatti)\
**Post date:** [October 6, 2021, 12:31pm UTC](https://forum.inductiveautomation.com/t/ign-4846-rename-tag-providers-in-cloned-project/51650/7 "2021-10-06T12:31:08Z")

</div>

> [@nminchin](#):
>
> The only thing that I found to fix it was to re-save the binding on `tagPath` - no change to it, just open it and press OK. Then it came good. I had to do this **MANY** times…

Renamed inside the templates [default] with empty space, and as you wrote the binding is disconnected, I opened the template and just pressed OK to reconnect it.  
In the screenshots the black template is disconnected, and the green / gray one is connected correctly, but they have the same type of path.  
**I think it's a BUG to fix ..**. 😅

 ![2021-10-06 14_25_29-CIP_TEST - ignition-adueserver - Ignition Designer](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/a/0ae781d095748135c7f3a01f0f4a0ee970ae5f54.png)  
 ![2021-10-06 14_24_55-CIP_TEST - ignition-adueserver - Ignition Designer](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/5/356064f2092ef3329ce792afe5fbf7c00e7b6463.png)

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 6, 2021, 9:48pm UTC](https://forum.inductiveautomation.com/t/ign-4846-rename-tag-providers-in-cloned-project/51650/8 "2021-10-06T21:48:39Z")

</div>

> [@m.pelagatti](#):
>
> I think it’s a BUG to fix

@paul-griffith

---

<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 6, 2021, 11:24pm UTC](https://forum.inductiveautomation.com/t/ign-4846-rename-tag-providers-in-cloned-project/51650/9 "2021-10-06T23:24:31Z")

</div>

Okay, so just to make sure I’m getting the minimum sequence of events correct:

1. (Indirect?) binding is set up to `tag/path/A`
2. Find & replace is used to replace `tag/path/A` with `tag/path/B`
3. Launching a client at this point, the binding will not evaluate correctly.
4. Open the window, look at the binding in the designer, make no changes, save the window.
5. Launch the client, window now works?

I’ll play around with it a bit - this thread has some possible red herrings re: tag providers, but my educated guess is that it’s not relevant and the core problem is find & replace affecting bindings.

---

<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 7, 2021, 12:02am UTC](https://forum.inductiveautomation.com/t/ign-4846-rename-tag-providers-in-cloned-project/51650/10 "2021-10-07T00:02:06Z")

</div>

Okay, I’ve been convinced there is a bug here and filed a ticket.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 7, 2021, 2:47am UTC](https://forum.inductiveautomation.com/t/ign-4846-rename-tag-providers-in-cloned-project/51650/11 "2021-10-07T02:47:57Z")

</div>

Cool, so you managed to reproduce it on your end? Otherwise I was just going to say

> [@paul-griffith](#):
>
> Open the window, look at the binding in the designer, make no changes, save the window.

look at binding, **press OK, making no actual changes** , save window
