05-13-2019 09:54 PM
Hello All,
I have uploaded one XML document in UCCX 11.6 default path.
Now I want to modify the XML file through UCCX script.
In the recording script where options are “Press 1 to activate, Press 2 to deactivate and press 3 to record. Press 3 options is working fine. Now press 1 and press 2 can we create a xml document and modify the value inside the XML document. For example if I want to change the ActivationStatus in below file to "False" how to do that with UCCX script.
05-14-2019 05:21 AM
I have a similar function where my Call Center is able to call in and set their queues to emergency.
1 - Create XML doc from existing XML
2 - Transform values based on variable (in this case, pressing 1 sets emergencyStatus to true, and "True" is set in the xml)
3 - Upload document back to CCX.
I assume you should be able to work out something similar for your needs.
05-15-2019 04:03 AM
Hi Mike, Thanks for your reply. I tried the upload step, but only blank document get uploaded.
I would like to know whether my script configuration is fine or not.
Below is my Template, I would like the change the value "%Manual%" to True of False.
Screenshot of my Script.
Please help me as I am stuck at this point from last one month. TAC also not providing any solution as TAC is not responsible for any new configuration.
05-15-2019 05:43 AM
05-15-2019 10:11 PM - edited 05-15-2019 10:12 PM
Thanks again for your prompt reply.
I tried as per your suggestion but again blank file get uploaded. There may be something wrong in my configuration. Either in the Variable or in the script. When I enabled reactive debug everything seems to be right. However still blank file get uploaded. Any Idea what is wrong in my configuration.
05-16-2019 04:37 AM
09-04-2019 01:15 PM - edited 09-04-2019 01:16 PM
Hello Mike,
Im working on setting up this exact scenario.
Would it be possible for you to upload the UCCX script you had success with in this scenario?
Im having an issue with the upload document step and would love to be able to work off of yours.
Thanks,
Tim
02-05-2020 12:38 AM
Hi, Though this is an old thread, i have tried this now and replying with my worked script for future reference.
Hope this image explains.
I am uploading OriginalXML as OriginalXML1 to avoid confusion, we can use same name as OriginalXML for uploading document, no issues.
Authenticate the user with credentails having admin rights. Enter the user name and its corresponding password.
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