# Client Tag Binding to Pop-up Calendar Date property

**URL:** <https://forum.inductiveautomation.com/t/client-tag-binding-to-pop-up-calendar-date-property/36473>\
**Category:** Ignition\
**Tags:** ignition80, vision\
**Created:** [July 8, 2020, 8:25am UTC](https://forum.inductiveautomation.com/t/client-tag-binding-to-pop-up-calendar-date-property/36473 "2020-07-08T08:25:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ott.sellis](https://avatars.discourse-cdn.com/v4/letter/o/bbce88/32.png) [@ott.sellis](https://forum.inductiveautomation.com/u/ott.sellis)\
**Post date:** [July 8, 2020, 8:25am UTC](https://forum.inductiveautomation.com/t/client-tag-binding-to-pop-up-calendar-date-property/36473/1 "2020-07-08T08:25:45Z")

</div>

Hi,

I have a problem where I would like to use the same time selection values throughout multiple tabs. In Ignition 7.9 I was able to do so by binding the Date property to a DateTime type client tag. In Ignition 8.0 however I am running into the problem that once I initialize the value to be today on client start-up, it does not write the value to the pop-up calendar. Could this be some sort of a format problem? I tried to use both the java.util.Calendar and built-in methods.

Here is my initclient script which is ran as a client startup script:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/8/984f5c6469acc450a3e0a36a0e69a219800e6b5c.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/b/1bcc4eee158351c9c83d721810e7000fe704b546.png)

---

<div class="post-metadata">

**Author:** ![KMuldoon](https://avatars.discourse-cdn.com/v4/letter/k/839c29/32.png) [@KMuldoon](https://forum.inductiveautomation.com/u/KMuldoon)\
**Post date:** [July 9, 2020, 6:37am UTC](https://forum.inductiveautomation.com/t/client-tag-binding-to-pop-up-calendar-date-property/36473/2 "2020-07-09T06:37:36Z")

</div>

After recreating the same functionality, it looks like you just need to remove the ‘project.’ when calling project scripts in 8.0 since there aren’t any shared scripts anymore. After I made that change, the popup calendars showed the expected dates.

---

<div class="post-metadata">

**Author:** ![ott.sellis](https://avatars.discourse-cdn.com/v4/letter/o/bbce88/32.png) [@ott.sellis](https://forum.inductiveautomation.com/u/ott.sellis)\
**Post date:** [July 9, 2020, 6:45am UTC](https://forum.inductiveautomation.com/t/client-tag-binding-to-pop-up-calendar-date-property/36473/3 "2020-07-09T06:45:07Z")

</div>

After removing ‘project.’ from the client script I get the following error.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/1/b1078d3dbef36256789e52f7374b3cb84640bd91.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/e/1e979345b90d46c24c789a69596f7b3d4fd2e998.png)

---

<div class="post-metadata">

**Author:** ![KMuldoon](https://avatars.discourse-cdn.com/v4/letter/k/839c29/32.png) [@KMuldoon](https://forum.inductiveautomation.com/u/KMuldoon)\
**Post date:** [July 9, 2020, 6:54am UTC](https://forum.inductiveautomation.com/t/client-tag-binding-to-pop-up-calendar-date-property/36473/4 "2020-07-09T06:54:03Z")

</div>

That’s odd…

From what the [documentation](https://docs.inductiveautomation.com/display/DOC80/Project+Library) says, as long as the script and method are defined, they should just be able to be called by the “scriptName.methodName()”.

Is this an inherited project?

---

<div class="post-metadata">

**Author:** ![ott.sellis](https://avatars.discourse-cdn.com/v4/letter/o/bbce88/32.png) [@ott.sellis](https://forum.inductiveautomation.com/u/ott.sellis)\
**Post date:** [July 9, 2020, 7:00am UTC](https://forum.inductiveautomation.com/t/client-tag-binding-to-pop-up-calendar-date-property/36473/5 "2020-07-09T07:00:38Z")

</div>

Well it’s parent project is global by default and I upgraded from Ig7.9, so there might be a connection there. But as I look into the global project, there are only shared scripts and shared templates, none of which are used for this functionality.

EDIT - I am also able to run it from my script console.

EDIT2 - OMG! I found the problem, I had the Date bound to the wrong tag, the solution was right under my nose… 🤦‍♂️ The weird thing regarding the script path still remains.

---

<div class="post-metadata">

**Author:** ![KMuldoon](https://avatars.discourse-cdn.com/v4/letter/k/839c29/32.png) [@KMuldoon](https://forum.inductiveautomation.com/u/KMuldoon)\
**Post date:** [July 9, 2020, 7:13am UTC](https://forum.inductiveautomation.com/t/client-tag-binding-to-pop-up-calendar-date-property/36473/6 "2020-07-09T07:13:05Z")

</div>

Oh good! Those are sometimes the hardest issues to resolve!

I’m thinking it has to do with the upgrade. So what does the structure of your scripts look like? Do you still have shared scripts in the project browser in the global section? Or did they get moved under scripting? Do you have a folder called “project” in your project library now?

(Sorry about all the follow-up questions! Just curious at this point)

---

<div class="post-metadata">

**Author:** ![ott.sellis](https://avatars.discourse-cdn.com/v4/letter/o/bbce88/32.png) [@ott.sellis](https://forum.inductiveautomation.com/u/ott.sellis)\
**Post date:** [July 9, 2020, 7:32am UTC](https://forum.inductiveautomation.com/t/client-tag-binding-to-pop-up-calendar-date-property/36473/7 "2020-07-09T07:32:52Z")

</div>

This is how it looks like:

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/b/7bf78c109c3e9c410c8684406f53459f9087e994.png)

I think it answers all of your questions and I think that the upgrade actually created the project folder, yes, to keep the old script call-out system.
