<div dir="ltr"><div>Great answer.</div><div><br></div><div> The§com.cisco.cccalendar.CCCalendar§CCCalendar [id=1]§ value that's set normally through the application shed some clues I but couldn't find any documentation on setting it outside that interface. <br></div><div><br></div><div>+5<br><span></span></div>
</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 23, 2020 at 4:02 PM Anthony Holloway <<a href="mailto:avholloway%2Bcisco-voip@gmail.com">avholloway+cisco-voip@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">If you click on one of your Calendars in AppAdmin, the URL in your address bar will end with something similar to:<div><br></div><div><font face="monospace">/appadmin/calendar/edit.do?calendarId=1</font><br></div><div><br></div><div>You can take that ID, and use it in a Set step in your script like this:</div><div><br></div><div><b><u>Variables</u></b></div><div><font face="monospace">CCCalendar target_calendar = null (Parameter)</font></div><div><br></div><div><b><u>Script Steps</u></b></div><div><font face="monospace">...</font></div><div><font face="monospace">Set target_calendar = new CCCalendar("1")</font></div><div><font face="monospace">Calendar (target_calendar)</font></div><div><font face="monospace"> Business Hours</font></div><div><font face="monospace"> Holidays</font></div><div><font face="monospace"> The Rest</font></div><div><font face="monospace"> Failure</font></div><div><font face="monospace">...</font></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 23, 2020 at 2:47 PM Ray Maslanka <<a href="mailto:ray.maslanka@gmail.com" target="_blank">ray.maslanka@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>UCCX 12 provides calendar management through the administrative GUI as well as through a Supervisors Finesse view. <br></div><div><br></div><div>Is anyone aware of a way to
dynamically
associate a particular calendar defined in UCCX to a caller fielded by a script? <br></div><div><br></div><div> For example, script1 contains CCCalendar step myCalendar and UCCX has two calendars defined called NormalHours and BankersHours. Can the first caller handled by script1 be treated by NormalHours and the second by
BankersHours? Does the script have a way (setting CCCalendar value maybe?) to associate itself dynamically with the a calendar defined in the UCCX calendar management pages?</div><div><br></div><div>Given the calendar is fixed as a variable in the application and needs to be manually selected I suspect not but thought I throw it out there.</div><div><br></div><div>Thanks for the input in advance.<br>
</div><div><br></div></div>
_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" rel="noreferrer" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
</blockquote></div>
</blockquote></div>