Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Not applicable

Calling external Web Services from an Extension

Does anyone have any experience in creating an extension which can consume the response from an external webservice ? I believe this may be possible using JQuery but have no experience of using it.

Thanks

Lucy

4 Replies
amars
Valued Contributor

Calling external Web Services from an Extension

See if the attached example helps.

saxjonas
Contributor

Calling external Web Services from an Extension

It highly depends on what you want to do.

Just remember that when you're now using the Ajax client the same browser restrictions as a normal webpage is in work. That is, no xmlhttprequests can be done unless the remote host permits it explicitly.

So what do you want to achieve?

Not applicable

Calling external Web Services from an Extension

Thanks Jonas,

I would like to build an Extension which can call a property finder webservice and display the feedback based on selections made in the document. I am aware that Javascript has restrictions around calling webservices on external servers but also that there are "workarounds", I just can't get them to work!

regards

Lucy

saxjonas
Contributor

Calling external Web Services from an Extension

Is it some kind of internal report tool?
Often you could simply have an iframe using your selections as a parameter to the src URL.

Could you show with a flow chart just how you're thinking? For example:

User selects Report ID -> QV Extension fetches data from http://url/?reportid=[chosen reportid]-> Extension displays data.

Community Browser