12-04-2007 07:06 AM - edited 03-15-2019 07:35 AM
Is it possible to configure Holiday on basis of a specific "date"? For example I want that every year on 25th of December it should play a prompt that we are closed.
Any help will be highly appreciated.
Kind regards,
Sana
12-04-2007 07:35 AM
12-04-2007 07:51 AM
Dear RuddieBoy,
Thanks for the script. Just another question: if you got 2 or 3 holidays, how do you configure the IPCC in a way that the "prompt" for that particular day is played? For example: On 25th of December it should play prompt "25December_prompt" and on 1st of January "1January_prompt".
Thanks.
Kind regards,
Sana
12-04-2007 08:11 AM
We are still working on this one. I think it should be done like this, but I haven't had time to test this, though.
I think what you need to change in the current XML file is:
And then make:
"/descendant::Holidays/child::" + Prompt
I don't have the exact code, but you might get the idea.
12-04-2007 11:45 AM
Within the
--add more dates here if needed--
If on a specific date it closes at a specific(non-regular) time, then you could do something like this:
--add more dates here if needed--
**replace the xxx with the folder path of your closed .wav file**
12-04-2007 02:14 PM
Dear Adam Thomson,
Thanks for your reply. Just a last question: Where do I have to put the XML and Holiday Script? To any specific folder?
Thanks,
Kind regards,
Sana
12-05-2007 06:09 AM
In my setup, the location of the .xml files is C:\Program Files\wfavvid\. Also in that folder is an example.xml file that outlines what you are trying to accomplish.
Hopefully this will help you.
12-06-2007 07:29 AM
Dear Adam Thompson,
Could you please upload any Example.xml or Dates.xml which works? I'm getting an error while trying to call the dates.xml.
Thanks.
Kind regards,
Sana
12-06-2007 07:37 AM
12-06-2007 08:03 AM
Dear Adam Thompson,
Thanks for file and answer. But it's not working yet. Maybe I'm doing something wrong. This how I did it:
1) I inserted "Holiday.aef" into our main script as "Call Sublfow";
2) I created a dates.xml file with only the following codes:
-
-->
3) I copied the file dates.xml to C:\Program Files\wfavvid
4) I put the Closed file (99988closed.wav) in dates.xml in C:\Program Files\wfavvid
5) Validate the script and uploaded
I hope you can guide me if I'm doing anything wrong.
Thanks,
Kind regards,
Sana
12-06-2007 11:32 AM
The first thing that I notice is that you have the date defined as "12/6/2006", maybe you mean "12/6/2007".
See if that works for you.
12-06-2007 12:43 PM
Dear Adam Thompson,
I changed it to "12/6/2007" but it didn't work for me. Do you have an example of a script in which Holiday.aef has been inserted as CallSubFlow? I'll really appreciate your help.
Thanks,
Kind regards,
Sana
02-01-2008 01:15 AM
Hi Guys,
A quick question on the holidaycheck subscript (thanks for providing it by the way, saved me a lot of time).
My server didn't have the c:/program files/wfavvid/user/en_GB folder so I created it a couple of months back and placed the dates.xml file in there. I have now restarted the server and noticed that the folder has been deleted which caused the application to stop working.
The default lang on the server is en_GB so why are there no folders at all under the wfavvid\user folder? Should I instead just place the dates.xml file in the user folder?
Thanks in Advance.
11-07-2011 10:40 AM
11-07-2011 10:45 AM
The XML file was edited in "Essential XML Editor 1.6".
The XML file contain:
The script posted in last response works very well.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide