Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Procedure for read/write an XML-File using UCCX9

Hi Team!

Is there someone who can explain me the procedure of reading/writing an XML-File using Cisco UCCX Rel. 9.0?

In the last couple of days I did a lot of research on the partner community as well as reading the CRS-Editor-PDFs.

But I can’t find a solution.

There are some templates available but they all didn’t seem to work.

I have two xml-files, both uploaded to “Document Management\en_us\”.

The script itself is attached to this posting.

I build that my script according to a sample script I found in the community.

From my point of view I have configured my script exactly like the sample script.

But it still doesn’t work.

I am especially interested in where to store the the appropriate files.

I would be very happy if there is someone who can explain me, what’s wrong there.

Many thanks in advance.

Kind regards

Michael

Everyone's tags (4)
5 REPLIES
Community Member

Procedure for read/write an XML-File using UCCX9

I'm experiencing the same issue [reading XML causes errors that say things from "no such file" to some odd Java exception.] I'm able to use a template XML file and after authenticating a user, transform the template into a proper XML file and then successfully save it to the en_US Doc Repository with updated values.

However, no matter what I've tried or who I've asked, the READ on the XML file so that I can actually script something that does some routing based on the value of the XML file created in my first script? Ultra fail.

I've even worked with three separate TAC IPCC engineers who were able to reproduce the issue in their test environment, but they were unable to assist. Eventually, whe pressed, I received this response from the last IPCC engineer.:

"Hello Brad,

Yes I know what I provided you with is what you already have achieved and this missing step is precisely what you need: how to setup the script to check the status and value of this XML document and then decide routing according to the state.   But unfortunately this is what I found internally.  The other resources are the ones you already know:  support forums, scripting guides.  The other resource with suggest to customer looking for script assistance is the Cisco Account Manager of your company, they know where to get the resources for such issues.   Then again as I mentioned before on our phone conversation TAC does not support scripting but certainly if I find something else on my side I will let you know for sure."

I would do ponderous cartwheels of joy if someone who has this working in version 9.x [9.0.2 specifically] could share the deep magic.

Community Member

Procedure for read/write an XML-File using UCCX9

My problem is definitely the same as the one in Sub_Write_XML.

Community Member

Procedure for read/write an XML-File using UCCX9

Hi Brad,

so that means you've achieved it to write into a XML-File successfully?

Could you tell me where are your XML-Files located?

Reading wasn't an issue in my case - perhaps we can help each other?

cheers

Michael

Community Member

Re: Procedure for read/write an XML-File using UCCX9

I've attached my successful write process and the template file being used.

All in the en_US Doc Repository.

Community Member

Re: Procedure for read/write an XML-File using UCCX9

I also just saw these guys, which were resolved in the 9.0.2[SU1] release:

  • CSCue35595 which says A Semicolon is Missing, separating fields in the XML metadata.
  • CSCue59553 which says Unable to Use Doc Steps In Scripts Without Contact Application Trigger.

That second bug especially could be affecting me.

269
Views
0
Helpful
5
Replies
CreatePlease to create content