# Unable to find template path in published client

**URL:** <https://forum.inductiveautomation.com/t/unable-to-find-template-path-in-published-client/12308>\
**Category:** Ignition\
**Created:** [October 31, 2016, 7:17pm UTC](https://forum.inductiveautomation.com/t/unable-to-find-template-path-in-published-client/12308 "2016-10-31T19:17:07Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Philcr](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@Philcr](https://forum.inductiveautomation.com/u/Philcr)\
**Post date:** [October 31, 2016, 7:17pm UTC](https://forum.inductiveautomation.com/t/unable-to-find-template-path-in-published-client/12308/1 "2016-10-31T19:17:07Z")

</div>

Hi,

I have a project in which I can’t create new templates and instantiate them. Whenever I work in the staging environment, everything work fine. But when I published it, each instance is overlaid and I have two repeating error in the console:

- Unable to find template for path: 
- Unable to find target UDT property

My UDTs work, the UDTs tag work, when I create a random shape (like a simple rectangle) with one of the UDT bound to the “Fill Color” it works.

I tried many things but nothing works:

- Recreate the template from scratch, with same/different path, on same/different page
- Create different template with other UDT parameter
- Empty the local and the servers cache
- Restart the main and the backup gateways
- Restart the gateways’ servers
- Export my templates, and re-import them

I created a new project, and I don’t have this problem, so I assume there is a problem with my specific project. Is there a way to recompile the project? Do you have any other suggestion because I am running out of ideas…

Thank you.

---

<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 31, 2016, 10:55pm UTC](https://forum.inductiveautomation.com/t/unable-to-find-template-path-in-published-client/12308/2 "2016-10-31T22:55:07Z")

</div>

What version of Ignition are you using? Are the templates in the original project inside of a folder? If you use auto-publishing mode, does everything show up correctly?

---

<div class="post-metadata">

**Author:** ![Jenko](https://avatars.discourse-cdn.com/v4/letter/j/2acd7d/32.png) [@Jenko](https://forum.inductiveautomation.com/u/Jenko)\
**Post date:** [November 2, 2016, 12:06pm UTC](https://forum.inductiveautomation.com/t/unable-to-find-template-path-in-published-client/12308/3 "2016-11-02T12:06:42Z")

</div>

I have the exact same problem with my project. The templates and associated UDTs work fine in the designer but they don’t work in the published client. And I get the exact same error messages even though the templates exist in the correct location and their path references are correct.

I think it’s only happening with new templates that I’ve created since upgrading to 7.9.  
All the existing templates work fine. Just to clarify, these are project templates and not shared templates.

Any help would be much appreciated.

Cheers  
Dan

---

<div class="post-metadata">

**Author:** ![Philcr](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@Philcr](https://forum.inductiveautomation.com/u/Philcr)\
**Post date:** [November 4, 2016, 6:41pm UTC](https://forum.inductiveautomation.com/t/unable-to-find-template-path-in-published-client/12308/4 "2016-11-04T18:41:48Z")

</div>

We managed to correct the situation.

Since only the staging version worked, what we did is:  
1 - export the staging version from the gateway main page  
2 - import the staging version under a different name  
3 - delete the first project  
4 - rename the second project like the first

I think we force the gateway to recreate a published version from the staging which worked, but this is only supposition.

---

<div class="post-metadata">

**Author:** ![matt.eaton](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matt.eaton/32/72046_2.png) [@matt.eaton](https://forum.inductiveautomation.com/u/matt.eaton)\
**Post date:** [November 16, 2016, 5:28pm UTC](https://forum.inductiveautomation.com/t/unable-to-find-template-path-in-published-client/12308/5 "2016-11-16T17:28:06Z")

</div>

I’m having the same issue and have had this issue before. My resolution before 7.9 was to find the resources directly in the raw setting viewer, delete them manually via query and re-import the resources.

I don’t think we have access to the raw settings viewer in 7.9 so I’m a bit stuck. I don’t have the control to be restarting my gateway all the time.

---

<div class="post-metadata">

**Author:** ![WillMT10](https://avatars.discourse-cdn.com/v4/letter/w/7feea3/32.png) [@WillMT10](https://forum.inductiveautomation.com/u/WillMT10)\
**Post date:** [November 18, 2016, 11:03pm UTC](https://forum.inductiveautomation.com/t/unable-to-find-template-path-in-published-client/12308/6 "2016-11-18T23:03:44Z")

</div>

We are having the same issue. Looks fine in the Designer/Staging Version. Published version “Unable to find template for path:…” Designer, Staging, and Published are all open on the same machine. Tried clearing caches, renaming templates, creating from scratch, renaming components in window, etc. Nothing has worked yet. Anyone have any luck fixing this?

Thanks,  
-Will

Designer/Clients on OSX 10.11.6, Java 1.8.0\_111-b14  
Gateway v7.9.0, Windows 7, Java 1.8.0\_65-b17

Recently updated from 7.8.3 to 7.9.0. Templates that are causing problems are templates created after upgrading to 7.9.0.

---

<div class="post-metadata">

**Author:** ![WillMT10](https://avatars.discourse-cdn.com/v4/letter/w/7feea3/32.png) [@WillMT10](https://forum.inductiveautomation.com/u/WillMT10)\
**Post date:** [November 18, 2016, 11:17pm UTC](https://forum.inductiveautomation.com/t/unable-to-find-template-path-in-published-client/12308/7 "2016-11-18T23:17:46Z")

</div>

One interesting thing I just noticed. For us, it only happens if we put the templates into a new folder. If we put the templates in a folder that existed in the project pre v7.9.0, they show up just fine. Even works if we take a template that is currently not working and copy/paste into an old folder. Soon as you do that, the templates work fine in the published project. If you take a template that is currently working and copy/paste into a new folder, it can’t find the path.

Thought this might be useful info.

Thanks,  
-Will

---

<div class="post-metadata">

**Author:** ![Philcr](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@Philcr](https://forum.inductiveautomation.com/u/Philcr)\
**Post date:** [November 21, 2016, 2:59pm UTC](https://forum.inductiveautomation.com/t/unable-to-find-template-path-in-published-client/12308/8 "2016-11-21T14:59:30Z")

</div>

We also have the same problem with new folders. When we create new folders than delete them, they sometimes reappear in the designer a few moments later.

---

<div class="post-metadata">

**Author:** ![WillMT10](https://avatars.discourse-cdn.com/v4/letter/w/7feea3/32.png) [@WillMT10](https://forum.inductiveautomation.com/u/WillMT10)\
**Post date:** [December 13, 2016, 6:16pm UTC](https://forum.inductiveautomation.com/t/unable-to-find-template-path-in-published-client/12308/9 "2016-12-13T18:16:15Z")

</div>

Worked with support and we figured out what was causing the problem that I was seeing. It is all centered around the Save/Publish button(s). For some reason if you have the Project set to Manual Publish Mode (one button for save and a separate button for publish) it breaks when sending out anything that is in a new folder. This includes Script Library Packages, Window Folders, and Template folders. I was told a fix for this will be included in 7.9.1.

In the mean time, if you want a workaround, here are the steps (Note: This will push out everything that is currently NOT published, so if there are things you do not want to Publish yet, do not follow these steps):

[ul]1) Switch to Auto Publish Mode in your Project Properties  
2) Save/Publish the changes to the Project Properties  
3) Go to the folders that are not showing up in the Published Project and make a change to a script/window/template that is inside the folder  
4) Save/Publish the change (Publish Global if prompted)[/ul]

Everything should now show up in the Published version of the project. Afterwards you can switch back to Manual Publish Mode if you want. Just keep in mind you will need to follow these steps each time you add a new folder, at least until 7.9.1.

Thanks,  
-Will

---

<div class="post-metadata">

**Author:** ![ryanjmclaughlin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryanjmclaughlin/32/4318_2.png) [@ryanjmclaughlin](https://forum.inductiveautomation.com/u/ryanjmclaughlin)\
**Post date:** [December 16, 2016, 12:57pm UTC](https://forum.inductiveautomation.com/t/unable-to-find-template-path-in-published-client/12308/10 "2016-12-16T12:57:35Z")

</div>

We encountered this as well, def a bug that made heads scratch for awhile ![:scratch:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/76d1620bec252bfac07050c889ff5a91dc8a9c25.gif ":scratch:")

It is fixed in 7.9.1 Beta 1 if you need a fix now. I upgraded onto that and no longer have issues. Thanks to support for identifying to problem so quickly.
