Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Announcements
Customers, Partners & Luminaries only: You're invited to a Data Analytics Roadmap session. Read More
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Partner
Partner

Qlik sense Mashup objects web integration

Hi everyone! Need your help and advice. We are trying to set up the mashup on our test server with my colleagues. I have created the mashup via dev-hub and we have placed the html, css, js files on the server. Next, I have configured the virtual proxy 'vp' to authenticate through it. Below are the configurations made in the js code and for the virtual proxy. However, when the page loads the qlik objects are not visible, just blank spaces. I am bad at js so I am not sure how to configure the authentication for ticket fetching.

Can anyone please explain how to do that straightforward step-by-step, I would appreciate that A LOT.

Untitled.png

Untitled2.png

Untitled3.png

5 Replies
Highlighted
Partner
Partner

Such a great question.

I would like to hear an answer for that one too!

Highlighted

Hi,

Looks like you have a bunch of 404 file not found errors. Start by solving those. Your HTML file is probably a good place to start, if you get a file not found on the require.js file, pretty much everything will fail.

If your mashup is served by Qlik Sense (the url is something like https://[server]/proxy/extensions/xxxxx/xxxxx.html) a good format for the requirejs link would be:

<script src="../../resources/assets/external/requirejs/require.js"></script>


Using relative paths in your mashup simplifies deployment a lot.


Erik Wetterberg

https://extendingqlik.upper88.com/

Highlighted
Partner
Partner

Thank you for your reply, Erik,

The problem with using relative paths is that our mashup is placed on the server via http, while our Qlik Sense server is on https. If I use relative paths it will just lose the connection.

Concerning the 404 errors, I have fixed some and those left are basically the font references and that is not the priority by the moment. What I am trying to figure out is "Uncaught SyntaxError: Unexpected token <" error, it occurs when the engine is connecting via the virtual proxy and the link is https://server/vp/internal_forms_authentication/?targetid=etc.../  Here I might be mistaken the main problem is that I have not set up the authentication the right way. So on, there are errors with require.js and I guess here the problem with the tickets occurs again.

Could you please elaborate on that?

Untitled.png

Highlighted

Hi,

The syntax error is probably because you get a HTML file when a javascript file is expected. A likely reason would be that you are not authenticated or use the wrong path.

Erik Wetterberg

Highlighted
Partner
Partner

Thank you, Erik,

Could you advice how to solve the problem of openApp undefined? as you can see below it is the problem with the require js and tickets. What approach would you recommend to choose to solve that?Untitled.png