Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I have a .Net Web Service that I can call successfully from several other technologies: a local or remote browser, Excel VBA, QlikView VBA, and from JavaScript within another HTML page. However, running the same JavaScript as the HTML page within an Extension Object will not work. I am running the Extension Object within a local QlikView 11.2 app. Am I missing something that I need to configure?
This is the JavaScript. It works within an HTML page but not within the Extension Objects:
$.ajax({
type: "POST",
url: http://localhost/Test1/Service1.asmx/doSomething,
data: '{Data1: "a", Data2: "b"}',
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (r) { alert("Success"); }
});
Thanks
Al.
It shouldn't be any limitations except from those that arise as conflicts between various Javascript libraries or version requirements of the same library like for instance jQuery. The QlikView extensions need specific versions of jQuery and you should check that this might be your problem....
Please check your browser console if any error is beeing reported
Is that possible? How do I check the browser console, given it is within QlikView?
Thanks
Al.
I suspect you are correct that it is a conflict. I have QlikView installed on a server and the code works in that QlikView. The jQuery version is 1.7.1 on both QlikView Desktop installations.
Any other guidance on how I identify the conflict?
Thanks
Al.
Publish your app and your extension to a QV Server and open it using a browser via Ajax Client
Thanks, but that does not help me. 🙂
I know I can publish but I need to be able to develop.