# Property Binding - Project Name

**URL:** <https://forum.inductiveautomation.com/t/property-binding-project-name/58702>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [April 21, 2022, 3:57pm UTC](https://forum.inductiveautomation.com/t/property-binding-project-name/58702 "2022-04-21T15:57:19Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgooding](https://avatars.discourse-cdn.com/v4/letter/j/a88e4f/32.png) [@jgooding](https://forum.inductiveautomation.com/u/jgooding)\
**Post date:** [April 21, 2022, 3:57pm UTC](https://forum.inductiveautomation.com/t/property-binding-project-name/58702/1 "2022-04-21T15:57:19Z")

</div>

I am trying to build an expression that needs the current project name? Is their a reference document with the locations of Property Bindings. I searched the help and the forum. Sorry if this has been asked before!

---

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [April 21, 2022, 4:12pm UTC](https://forum.inductiveautomation.com/t/property-binding-project-name/58702/2 "2022-04-21T16:12:28Z")

</div>

Are you using Vision or Perspective?

---

<div class="post-metadata">

**Author:** ![jgooding](https://avatars.discourse-cdn.com/v4/letter/j/a88e4f/32.png) [@jgooding](https://forum.inductiveautomation.com/u/jgooding)\
**Post date:** [April 21, 2022, 5:10pm UTC](https://forum.inductiveautomation.com/t/property-binding-project-name/58702/3 "2022-04-21T17:10:08Z")

</div>

Perspective - had that specified and then changed the title of my post.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [April 21, 2022, 5:20pm UTC](https://forum.inductiveautomation.com/t/property-binding-project-name/58702/4 "2022-04-21T17:20:55Z")

</div>

You could just add a `projectName` Perspective session variable and reference that. You’d only have to update it once any time you copy and rename a project.

---

<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:** [April 21, 2022, 5:28pm UTC](https://forum.inductiveautomation.com/t/property-binding-project-name/58702/5 "2022-04-21T17:28:56Z")

</div>

[https://docs.inductiveautomation.com/display/DOC81/system.util.getProjectName](https://docs.inductiveautomation.com/display/DOC81/system.util.getProjectName)

---

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [April 21, 2022, 5:53pm UTC](https://forum.inductiveautomation.com/t/property-binding-project-name/58702/6 "2022-04-21T17:53:27Z")

</div>

Ah yeah, just gotta add the tag, but it helps a lot.

---

<div class="post-metadata">

**Author:** ![jgooding](https://avatars.discourse-cdn.com/v4/letter/j/a88e4f/32.png) [@jgooding](https://forum.inductiveautomation.com/u/jgooding)\
**Post date:** [April 21, 2022, 8:05pm UTC](https://forum.inductiveautomation.com/t/property-binding-project-name/58702/7 "2022-04-21T20:05:52Z")

</div>

I am just being clear - I need to write a python script somewhere to move this somewhere usable? I can not use this is an expression correct?

I think that @Transistor has the right idea to just write the to a custom property and then once and done. It may have to be that I am not sure how to write it to view params using a python script or the like without moving it to a tag. I am trying to avoid any tags for this project for internal political reasons.

---

<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:** [April 21, 2022, 8:07pm UTC](https://forum.inductiveautomation.com/t/property-binding-project-name/58702/8 "2022-04-21T20:07:31Z")

</div>

Make a session custom property and give it a binding with `runScript("system.util.getProjectName", 0)`, and it’ll automatically evaluate and update once on session startup.

---

<div class="post-metadata">

**Author:** ![jgooding](https://avatars.discourse-cdn.com/v4/letter/j/a88e4f/32.png) [@jgooding](https://forum.inductiveautomation.com/u/jgooding)\
**Post date:** [April 21, 2022, 8:11pm UTC](https://forum.inductiveautomation.com/t/property-binding-project-name/58702/9 "2022-04-21T20:11:04Z")

</div>

That was the piece that I was missing. I forget that we could imbed “runScript” into an expression to get the crossover.
