# How to Make a Label that Displays the name of the current page

**URL:** <https://forum.inductiveautomation.com/t/how-to-make-a-label-that-displays-the-name-of-the-current-page/94770>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [August 16, 2024, 8:03pm UTC](https://forum.inductiveautomation.com/t/how-to-make-a-label-that-displays-the-name-of-the-current-page/94770 "2024-08-16T20:03:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Justin\_Bodycomb](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@Justin\_Bodycomb](https://forum.inductiveautomation.com/u/Justin_Bodycomb)\
**Post date:** [August 16, 2024, 8:03pm UTC](https://forum.inductiveautomation.com/t/how-to-make-a-label-that-displays-the-name-of-the-current-page/94770/1 "2024-08-16T20:03:57Z")

</div>

Hello, I am working on a project where I want a Label on my header to display the name of the page currently displayed. How do I do this. Thank you!

---

<div class="post-metadata">

**Author:** ![Dharani\_T](https://avatars.discourse-cdn.com/v4/letter/d/bc8723/32.png) [@Dharani\_T](https://forum.inductiveautomation.com/u/Dharani_T)\
**Post date:** [August 17, 2024, 8:30am UTC](https://forum.inductiveautomation.com/t/how-to-make-a-label-that-displays-the-name-of-the-current-page/94770/2 "2024-08-17T08:30:18Z")

</div>

You can use a client tag to accomplish this. Follow these steps:

- Create a vision client tag with string data type.
- On vision window opened script of all the window, write the heading to the tag.
- Bind the client tag to a label in the header.

---

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [August 17, 2024, 8:33pm UTC](https://forum.inductiveautomation.com/t/how-to-make-a-label-that-displays-the-name-of-the-current-page/94770/3 "2024-08-17T20:33:12Z")

</div>

If all you want is the current path, and you don't have a multi-monitor system you can use the tag: [System]Client/User/CurrentWindow to get the current window path.

You could then use that path to get the window object using [system.gui.getWindow | Ignition User Manual](https://docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-gui/system-gui-getWindow) and then grab the pertinent information from the Window in a property change script, and update a label with that information.

---

<div class="post-metadata">

**Author:** ![Justin\_Bodycomb](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@Justin\_Bodycomb](https://forum.inductiveautomation.com/u/Justin_Bodycomb)\
**Post date:** [August 19, 2024, 6:08pm UTC](https://forum.inductiveautomation.com/t/how-to-make-a-label-that-displays-the-name-of-the-current-page/94770/4 "2024-08-19T18:08:52Z")

</div>

Got it thank you!
