Hello!
I need to call JS function that resides in
.../Tomcat/webapps/sm/ext/ic_agent.js
on the button click. How can I get to it (function) from JS tab in Display Option?
Any help will be much appreciated!
Thanks in advance!
Hello!
I need to call JS function that resides in
.../Tomcat/webapps/sm/ext/ic_agent.js
on the button click. How can I get to it (function) from JS tab in Display Option?
Any help will be much appreciated!
Thanks in advance!
If you want SC to execute the script then it can only be serverside scripting. No clientside scripting is supported.
If this is the case you can read the file as text file and execute the javascript with eval().
It's not good on the part of SM.
Thanks tommy!
hmm ... you guys really sure of that?
Did you guys have a good look on xsl files that create the web forms?
For what I know, hacking/customizing the web client is much easier
as it's much more "open" compared to Win client.
Now way it's "impossible", it might only be bit more complicated.
On the other hand, the first question that comes to mind - what sort of functionality you're trying to develop that can't use SM server side processing?
I try to develop functionality that makes outgoing calls from SM. To do this I need to call JS function from external file. This function sets
window.status= 'making call';
and CTI (Avaya) makes phone call if this status is set as above.
I'll try to implement your idea
But I was looking for a "legal" way to solve this problem.
I'll try to contact support but I don't think this helps
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks