# No windowPath in Tree View Data Set

**URL:** <https://forum.inductiveautomation.com/t/no-windowpath-in-tree-view-data-set/18701>\
**Category:** Ignition\
**Created:** [July 2, 2018, 11:40pm UTC](https://forum.inductiveautomation.com/t/no-windowpath-in-tree-view-data-set/18701 "2018-07-02T23:40:42Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![ddurant](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@ddurant](https://forum.inductiveautomation.com/u/ddurant)\
**Post date:** [July 2, 2018, 11:40pm UTC](https://forum.inductiveautomation.com/t/no-windowpath-in-tree-view-data-set/18701/1 "2018-07-02T23:40:42Z")

</div>

I’m trying to set up a navigation tree to move between the various windows in my project. The docs say if I use the Dataset property I’m supposed to see a windowPath column which will allow me to open my windows. It’s not there even though I’ve already created several windows. I’m using a blank project template, not the one that has the tree view already as part of it. How do I fix this so I can open my windows?

Thanks,

---

<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:** [July 2, 2018, 11:44pm UTC](https://forum.inductiveautomation.com/t/no-windowpath-in-tree-view-data-set/18701/2 "2018-07-02T23:44:16Z")

</div>

Manually edit the dataset to add the column. Then add a variety of scripts in various places to use that column. Or create another project using that navigation style and copy and paste the pieces you need. Navigation is not a built-in feature of the treeview component.

---

<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:** [July 2, 2018, 11:49pm UTC](https://forum.inductiveautomation.com/t/no-windowpath-in-tree-view-data-set/18701/3 "2018-07-02T23:49:21Z")

</div>

It’s pretty overkill, but you can also check out the ‘ExpandableNav’ template I put into cloud templates; it will autopopulate the tree view based on whatever windows you have in your project.

---

<div class="post-metadata">

**Author:** ![ddurant](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@ddurant](https://forum.inductiveautomation.com/u/ddurant)\
**Post date:** [July 3, 2018, 12:20am UTC](https://forum.inductiveautomation.com/t/no-windowpath-in-tree-view-data-set/18701/4 "2018-07-03T00:20:36Z")

</div>

A a couple of questions and a comment. I don’t mean to sound snarky but why wouldn’t navigation be part of the tree view component? What else would you use it for?

In any case.

First question: There doesn’t seem to be any way to copy and paste the Dataset elements. It seems I have to populate all the fields manually if I add a new one. If I use the treeview customizer I get populated fields but no windowPath property.

Second question: Where do the cloud templates live? I’m new to Ignition as I’m sure you can probably tell.

Thanks

---

<div class="post-metadata">

**Author:** ![ddurant](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@ddurant](https://forum.inductiveautomation.com/u/ddurant)\
**Post date:** [July 3, 2018, 1:08am UTC](https://forum.inductiveautomation.com/t/no-windowpath-in-tree-view-data-set/18701/6 "2018-07-03T01:08:21Z")

</div>

I found it but it doesn’t do anything. How do I get it to auto-populate?

Thanks

---

<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:** [July 3, 2018, 1:23am UTC](https://forum.inductiveautomation.com/t/no-windowpath-in-tree-view-data-set/18701/7 "2018-07-03T01:23:15Z")

</div>

> [@ddurant](#):
>
> What else would you use it for?

Let's see:

- Folders and the files in them in a filesystem,
- Recipe categories, recipes, stages, and steps within a batch process,
- Assemblies of parts and nested assemblies in warehouse management,
- Organizational structures and substructures and the people/assets/tasks/etc. within them,

I'm sure there's more. /-:

---

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [July 3, 2018, 3:28am UTC](https://forum.inductiveautomation.com/t/no-windowpath-in-tree-view-data-set/18701/8 "2018-07-03T03:28:33Z")

</div>

> [@ddurant](#):
>
> Where do the cloud templates live?

Designer: Tools--\>Cloud Templates Browser. I realize you found this; may help someone else.

> [@ddurant](#):
>
> How do I get it to auto-populate?

I haven't used the template in question, but would guess it auto-populates in runtime (or perhaps in preview mode in Designer).

---

<div class="post-metadata">

**Author:** ![R.Alamsha](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@R.Alamsha](https://forum.inductiveautomation.com/u/R.Alamsha)\
**Post date:** [July 3, 2018, 4:57am UTC](https://forum.inductiveautomation.com/t/no-windowpath-in-tree-view-data-set/18701/9 "2018-07-03T04:57:20Z")

</div>

> [@ddurant](#):
>
> I'm new to Ignition as I'm sure you can probably tell.

The best way to practice and learn Ignition is:

1. Download the demo project and play with it in the designer.  
[Extra Ignition Materials | Inductive Automation](https://inductiveautomation.com/downloads/extra-material)  
[https://s3.amazonaws.com/files.inductiveautomation.com/demo/IgnitionDemoV79.zip](https://s3.amazonaws.com/files.inductiveautomation.com/demo/IgnitionDemoV79.zip)

2. Ignition online demo.  
[Ignition Online Demonstration | Inductive Automation](https://inductiveautomation.com/products/ignition/demo/online)

3. IA university.  
[https://www.inductiveuniversity.com/](https://www.inductiveuniversity.com/)

---

<div class="post-metadata">

**Author:** ![ddurant](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@ddurant](https://forum.inductiveautomation.com/u/ddurant)\
**Post date:** [July 3, 2018, 12:34pm UTC](https://forum.inductiveautomation.com/t/no-windowpath-in-tree-view-data-set/18701/10 "2018-07-03T12:34:13Z")

</div>

Thanks guys.

Good point about the other uses for the treeviewer. Tunnel vision on my part. 😉

Can’t get the ExpandableNav component to work so in the absence of any sort of documentation I’m moving on.

Thanks for the info on learning resources. I’ve just started the IU courses as part of getting our company certified as an integrator. I’ve looked at the online demo but I didn’t realize you could download something to run in Designer. That is REALLY helpful.

Thanks again for all your help.

---

<div class="post-metadata">

**Author:** ![R.Alamsha](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@R.Alamsha](https://forum.inductiveautomation.com/u/R.Alamsha)\
**Post date:** [July 3, 2018, 1:34pm UTC](https://forum.inductiveautomation.com/t/no-windowpath-in-tree-view-data-set/18701/11 "2018-07-03T13:34:16Z")

</div>

[https://www.inductiveuniversity.com/video/navigation-tree-view/7.9?r=%2Fvideo%2Fsearch%2F%3Fq%3Dtree%20view%26checked\_topics%3D](https://www.inductiveuniversity.com/video/navigation-tree-view/7.9?r=%2Fvideo%2Fsearch%2F%3Fq%3Dtree%20view%26checked_topics%3D)

[https://docs.inductiveautomation.com/display/DOC79/Tree+View+Example](https://docs.inductiveautomation.com/display/DOC79/Tree+View+Example)

---

<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:** [July 3, 2018, 3:09pm UTC](https://forum.inductiveautomation.com/t/no-windowpath-in-tree-view-data-set/18701/12 "2018-07-03T15:09:19Z")

</div>

> [@ddurant](#):
>
> Can't get the ExpandableNav component to work so in the absence of any sort of documentation I'm moving on.

> [@witman](#):
>
> I haven't used the template in question, but would guess it auto-populates in runtime (or perhaps in preview mode in Designer).

@witman got it in one, but if you want to dive into how it works the majority of the code is in the `rebuild` custom method on the tree view component itself. It constructs a 'default' tree view element, then goes through each window output by system.gui.getWindowNames() and puts those elements into the dataset.

---

<div class="post-metadata">

**Author:** ![ddurant](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@ddurant](https://forum.inductiveautomation.com/u/ddurant)\
**Post date:** [July 3, 2018, 3:22pm UTC](https://forum.inductiveautomation.com/t/no-windowpath-in-tree-view-data-set/18701/13 "2018-07-03T15:22:40Z")

</div>

I’m in over my head here. I don’t even know how to get there.

---

<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:** [July 3, 2018, 3:24pm UTC](https://forum.inductiveautomation.com/t/no-windowpath-in-tree-view-data-set/18701/14 "2018-07-03T15:24:05Z")

</div>

Right-click on the treeview in the template. Open “Scripting…” from the context menu.

---

<div class="post-metadata">

**Author:** ![ddurant](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@ddurant](https://forum.inductiveautomation.com/u/ddurant)\
**Post date:** [July 3, 2018, 10:05pm UTC](https://forum.inductiveautomation.com/t/no-windowpath-in-tree-view-data-set/18701/15 "2018-07-03T22:05:04Z")

</div>

Here is what I ended up doing. This comes from this post:

> [@Copy and paste a single row in the dataset viewer](http://forum.inductiveautomation.com/t/copy-and-paste-a-single-row-in-the-dataset-viewer/6504):
>
> Maybe I’m missing something here, but any time I edit a dataset tag or property it’s very inefficient because there is no way to copy and paste a single row in the Dataset Viewer. So my only option is to add a new row (which is completely blank) and then copy the contents of each individual cell from an existing row and then paste one by one into each cell in the new row. Gets really time consuming if you have more than a couple rows to add. I’ve tried copying the entire dataset and pasting i…

- I opened the the Multi-Tier Project Template which gave me my treeview.
- I copied my existing windows into the new project.
- I opened up the dataset editor for the treeview component
- I copied that into to Notepad
- I edited the fields for my windows and pasted it back to the dataset editor.

Cumbersome but easier than manually editing every field.

I have to ask this question: The post referenced above is from 5 years ago. Back then it was moved to a feature request. Has it not been addressed or are there better ways of doing it? Seems to me it would be handy just to be able to copy and paste rows in the dataset editor. You can't even copy or paste a single cell.

Anyway, thanks again for all the help.

---

<div class="post-metadata">

**Author:** ![Josh\_Connell](https://avatars.discourse-cdn.com/v4/letter/j/a87d85/32.png) [@Josh\_Connell](https://forum.inductiveautomation.com/u/Josh_Connell)\
**Post date:** [October 24, 2023, 2:10pm UTC](https://forum.inductiveautomation.com/t/no-windowpath-in-tree-view-data-set/18701/16 "2023-10-24T14:10:04Z")

</div>

I am interested in doing this but I'm not sure where to find the ExpandableNav template. Can you provide the code or a link to the template?

---

<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 24, 2023, 3:12pm UTC](https://forum.inductiveautomation.com/t/no-windowpath-in-tree-view-data-set/18701/17 "2023-10-24T15:12:49Z")

</div>

Cloud templates became the Ignition Exchange. I just published the resource:

> **[Ignition Exchange](https://inductiveautomation.com/exchange/822/overview)**
>
> Discover, share, and download community made Ignition resources in collaboration with your organization or the Ignition community.

---

<div class="post-metadata">

**Author:** ![Josh\_Connell](https://avatars.discourse-cdn.com/v4/letter/j/a87d85/32.png) [@Josh\_Connell](https://forum.inductiveautomation.com/u/Josh_Connell)\
**Post date:** [October 24, 2023, 6:52pm UTC](https://forum.inductiveautomation.com/t/no-windowpath-in-tree-view-data-set/18701/18 "2023-10-24T18:52:49Z")

</div>

Thanks for the quick response. For some reason, when I use that link it takes me to an empty page. Can you verify the link? I am able to download other Exchange resources.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/2/a2dc52b7f4d162dbe7cff962a0219785b2b7f3ad.png)

---

<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 24, 2023, 7:00pm UTC](https://forum.inductiveautomation.com/t/no-windowpath-in-tree-view-data-set/18701/19 "2023-10-24T19:00:11Z")

</div>

Ah, looks like it's in the review process since I made it public.

---

<div class="post-metadata">

**Author:** ![Josh\_Connell](https://avatars.discourse-cdn.com/v4/letter/j/a87d85/32.png) [@Josh\_Connell](https://forum.inductiveautomation.com/u/Josh_Connell)\
**Post date:** [October 24, 2023, 8:21pm UTC](https://forum.inductiveautomation.com/t/no-windowpath-in-tree-view-data-set/18701/20 "2023-10-24T20:21:59Z")

</div>

That's really nice. Thank-you for sharing!
