After upgrading from IPCCx 4.x to UCCx 8.5(1) one of my scripts is no longer working (see attached script). I reviewed the errors received and made some changes to the script (see add'l attached script). While the revised script no longer produces the error, the value received for 'Customer Region' is in a format that the script cannot read (ie, U"\n\t\t"). Can anyone help with figuring out why my original script failed to work and why the revised script returns a value in an unrecognizable format? ***Note, AreaCodes.xml file is also attached.
This only confirms that I was on the right path in changing my original script to use a Create XML Document step vs the Create File Document step. TAC is not willing to provide any additional assistance for this issue due to this is considered to be a custom script. Again any assistance will be greatly appreciated.
What it's returning, the value U"\n\t\t", means a Unicode string consisting of a newline and two tabs. That so happens to be exactly what's in your XML file for the one child node in each area-code element. Here's an example from your file:
<--- it's the stuff between here
The main thing I puzzled over when looking at your script is how this was working before? Are you sure that's your original script? It might be possible to craft an XPath query to return the first node NAME below an area-code element, but I'm not sure how off the top of my head. You're almost always looking for the contents of a node. What I'd suggest you do, if possible, is use a better XML schema. Something like this:
Which can then be referenced using a simple fast XPath query like this:
The result would be what you're looking for today in your Switch statement, a simple string "MidWest" or similar. If you're absolutely married to your old XML schema, we can try to help, but do the above if you can. You might also check out the W3 Schools XPath Tutorial.
All Info from userid1run sql select * from enduser where userid='userid1'
userid selective info for multiple usersrun sql select eu.userid,eu.islocaluser,eu.status, eu.mailid, eu.directoryuri, dpc.name as ad_filter from enduser eu left join direct...
New update of Cisco Meeting Server book with Streamer and Scheduler components, the book will cover the following:certificates requirements, clustering, dial plan with call flow, WebRTC, WebBridge3, CallBridge, recorder, streamer, scheduler, NAT Traversal...
The Scheduler component was introduced as a beta feature in version 3.3. It was added as anew component that enabled Web app users to schedule meetings, modify the scheduledmeetings, and notify participants via email. From version 3.4, Scheduler is fully ...
A collection of the most important notes from different resources for Cisco CMS and vbrick integration. Live Streaming (Webcast) integration with VBrick DME allow users to watch any live streamed CMS conference anywhere inside the network from differ...