cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
766
Views
0
Helpful
2
Replies

UCCX 12.x :: GetXMLDocumentData failing to read the file

h-vijay_singh
Level 1
Level 1

It is simple script to read a xml file 

<? xml version = "1.0" encoding = "UTF-8" ?>
<Emergency>1</Emergency>

 

XML File is located in the  default document folder.

it always goes to document exception as if there is no file exists or error to read the file... .

 

 

Attached is my sample test script.

 

 

2 Replies 2

Slurpas84
Spotlight
Spotlight

Hi sir,

 

That should be correct format.

Remember to refresh the application that will read the document.

If it still doesnt work, please show the reading-stage of the script

In the XML you posted you have a space in the first line between the ? mark and the x of xml, that causes an error.

If you don't have any audio in your script you can just run it in the editor

If you simplify your script to this you can just step it through and see the result

Capture.PNG

It makes it much simpler to debug these XML errors

Graham