CAXL Library - jabberwerx.js code is setting Date.prototype.toJSON()
We have an application built on the same lines as non-gadget finesse application using jabberwerx.js which is part of Cisco CAXL library released as part of CUP (CAXL version: v2014.04) and noticed that jabberwerx.js has following as part of its code:
// Format integers to have at least two digits.
return n < 10 ? '0' + n : n;
Date.prototype.toJSON = function(date) // Yes, it polutes the Date namespace, but we'll allow it here, as
// it's damned usefull.
return this.getUTCFullYear() + '-' +
toIntegersAtLease(this.getUTCMonth()) + '-' +
Now, the questions really are:
does the library itself relies on this modified toJSON() definition, if so what all are the dependencies on these? If in case it does rely on this updated definition, the library should have used a custom function with this definition instead of doing something that breaks standard implementation.
if library doesn't rely on this non-standard implementation, can this part of code be removed/commented/overridden by application without Cisco support implications.
If Cisco can release a patch/fix with this fixed (code removed/updated) and if yes, how soon?
A prompt response on this will be much appreciated as this has an important business case which is being discussed in parallel via a separate SR.
PS - The code snippet included in this discussion is not sensitive/confidential information as this is published by cisco as part of debug version of CAXL release [Reference Link: CAXL Downloads].
In a previous article I talked about the Cards & Buttons functionality of Webex Message. It's great to send nicely formatted or interactive messages.
What if you want to learn about Cards? There is a bot that teaches you all about Cards using...
The Python library "webexteamssdk" is great but there's one part of this library that "may need better documentation". This is the ability to create cards & buttons.
Here's a card example:
How is this card setup? What compone...
(using Python and the Flask Library)
An oAuth integration allows you to have an application "do stuff on your behalf".
This is a topic that can be quite complex to understand. For that reason I created this Python code to make it as easy as possible to...
It may be easier than you think.
After some customer requests I started writing code in Python. A few days later the script was ready.
What can it do?
ADD LOGO or image to your virtual background (using a domain/email address/URL/local-file)
Contact Center Knowledge Base
The Contact Center knowledge base contains information about developer topics for Finesse and Task Routing. For one-on-one help with these products, you can open a ticket at https://developer.cisco.com/site/support/. For...