Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
Such a great question.
I would like to hear an answer for that one too!
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
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?
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
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?