Author Topic: IWS-Related Development  (Read 2203 times)

Offline Ali

  • Jr. Member
  • **
  • Posts: 72
  • Karma: 0
  • Haunted by Genesys
    • My Web Site
IWS-Related Development
« on: October 05, 2017, 01:24:56 PM »
Hi to all!

We attached a web-based CRM application to our IWS Desktop Application.

What I want to ask you guys is the following:

We would like to insert a button inside this (embedded) web-application with which we can place outbound call. This button will trigger a Javascript function. So, is it possible to have this Javascript function make call over IWS desktop? As far as I know, we need to define a HTTP listener in IWS, so it can fetch Javascript-based calls.

In this case,

1. Do you have a sample code?
2. AND/OR any is there any SDK-related documentation you can advise me?

Thank you in advance and best regards,

Ali

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: IWS-Related Development
« Reply #1 on: October 05, 2017, 01:57:36 PM »
What you can do is to create a call to URS Web interface, so URS instructs TServer what to do, like a call on that DN. Check my question and the solution that was given.

Another solution as you say is to create a socket listener and implement a HTTP service or Websocket.
There are many solutions on the Internet for that.


Enviado de meu E6633 usando Tapatalk


Offline Ali

  • Jr. Member
  • **
  • Posts: 72
  • Karma: 0
  • Haunted by Genesys
    • My Web Site
Re: IWS-Related Development
« Reply #2 on: October 05, 2017, 05:44:10 PM »
Thank you for your reply.

Is it possible to develop HTTP Listener using Inteaction Workspace API?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: IWS-Related Development
« Reply #3 on: October 05, 2017, 06:21:50 PM »
???  Ermmm...no, Genesys doesn't have control on OS sockets. That is another part. You need to implement that.

Offline Ali

  • Jr. Member
  • **
  • Posts: 72
  • Karma: 0
  • Haunted by Genesys
    • My Web Site
Re: IWS-Related Development
« Reply #4 on: October 19, 2017, 02:43:04 PM »
I have figured out how to this.

For System.Windows.Controls.WebBrowser, we need to use ScriptHandler, so the web application can talk to IWS thru JavaScript.

Cherio!

Ali