event creation through Milestones sets End Date to ?

Notes on our latest calendar for FileMaker 13,: DayBack
Posts: 129
Joined: Tue Jul 15, 2008 12:41 am
Location: Perth Western Australia
PostPosted: Wed Oct 19, 2016 6:16 pm
Hi John and Dan,

I am suddenly having my end date set to ? when the event is created automatically through Milestones.

This then results in the event not showing on the calendar.

I haven't done anything to the script or milestones, the only thing I did recently was updating to the latest version of Dayback.

Attached a screenshot of the milestone and the script step with the end date creation.

Please can you assist, how I can avoid the question mark in each event.

Thanks

Kind regards

Regine
Attachments
milestone.PNG
milestone.PNG (80.19 KiB) Viewed 8109 times
SeedCode Staff
SeedCode Staff
Posts: 190
Joined: Tue Sep 22, 2015 2:27 pm
PostPosted: Thu Oct 20, 2016 10:55 am
Hi Regine,

Thank you very much for letting us know about this. I was able to find the cause of this issue, which appears to only happen when the avoid weekends option is enabled and the milestone duration is set to 0.

To correct this, in the the "Load Milestones Into Contact Events" script, wrap the Set Field step for EventsContactsEvents::DateEnd in an IF step as highlighted in the attached screenshot. This will leave the end date empty as expected when the milestone duration is set to 0.

If you use Project milestones, make the same modification around the ProjectContactsEdit::DateEnd Set Field step within the "Load Milestones Into Project Events" script. Let me know if that works for you.

Thanks again!
Attachments
Screen Shot 2016-10-20 at 11.47.56 AM.png
Screen Shot 2016-10-20 at 11.47.56 AM.png (46.76 KiB) Viewed 8101 times
Posts: 129
Joined: Tue Jul 15, 2008 12:41 am
Location: Perth Western Australia
PostPosted: Thu Oct 20, 2016 9:47 pm
Thanks Dan, that has solved the problem.

Kind regards

Regine
SeedCode Staff
SeedCode Staff
Posts: 691
Joined: Mon Feb 28, 2011 2:47 pm
PostPosted: Fri Oct 21, 2016 8:25 am
Great! and thanks again for posting!

Return to DayBack Calendar for FileMaker

Who is online

Users browsing this forum: No registered users and 2 guests

cron
(855) SEEDCODE
[email protected]
Follow us: