UCCX 8 HolidayCheck with xml

Answered Question
Jul 9th, 2010

Hi

we used to use a holiday check script that check an XML file to return a true or false value for holidies


however this one is not working with the new UCCX 8 as this version is Linux OS and i think there is some differences in the path or access to the xml file i have included a copy of the script with the xml file any idea or help how we can get this working with CCX 8 will be appriciated


Thank you

Correct Answer by reillyjj@caltro... about 6 years 7 months ago

I had the same type of issues upgrading to V8 of UCCX. I have attached an example script along with the xml holiday file. Hope this helps. Let me know if you have any questions.


Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
andreas.eichhor... Fri, 07/09/2010 - 06:57

Hi,


we changed our Holdiay Scripts from XML-Files access to Repository access. You can upload a document in the repository (database) and after that you have to change the the script.


Best regards

Andreas

Marwan ALshawi Fri, 07/09/2010 - 18:10

Hi There

i already did uploaded the xml through the GUI to the server

but i am getting the error in the snapshot


if you have a working holiday check script to share it here will be great at least i can compare the differences


Thank you

Correct Answer
reillyjj@caltro... Fri, 07/09/2010 - 18:19

I had the same type of issues upgrading to V8 of UCCX. I have attached an example script along with the xml holiday file. Hope this helps. Let me know if you have any questions.


Thanks

Attachment: 
Marwan ALshawi Mon, 07/12/2010 - 03:50

thank you worked

But the XML file and the script use date format as mm/dd/yy

while i want it as  dd/mm/yy


i cahnge the XML file to this format also i change in the script the format matching as bellow but it is not working with this format any idea how to make this script to work with the xml format as dd/mm/yy !!



(dtTodaysDate.date == dtHolidayDate.date) && (dtTodaysDate.month == dtHolidayDate.month) && (dtTodaysDate.year == dtHolidayDate.year)



Thank you

mscaramelli Thu, 10/28/2010 - 05:20

Hi,

have you solved the problem ? I've got the same issue ! Thanks in advance

Actions

This Discussion