Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
EitanL_OneBi
Partner - Contributor
Partner - Contributor

Qlik Sense Mashup with cloud platform

Hi,

I am trying to build a mashup with qlik sense cloud platform, require.js, and capability API (I'm using angular.js)

The mashup is hosted on my machine with http-server as shown in the link

https://qlik.dev/tutorials/build-a-simple-web-app#project-structure

However, I couldn't follow all the steps here because I need to work with require.js + capability API and not enigma.

The goal is to host existing mashups (were built with require.js capability api and angular.js) on a distant server and run qlik from cloud platform instead of enterprise.

I followed this 

https://help.qlik.com/en-US/sense-developer/September2020/Subsystems/Mashups/Content/Sense_Mashups/m... 

code1.png

With this example I  can get objects but when I try to access any global functions for example qlik. getGlobal 

I get this error : WebSocket connection to 'x' failed: Error during WebSocket handshake: Unexpected response code: 404

code2.png

I think there is something missing here in the creation of a web socket connection.

 

Also, Just for reference I tried following the full example here

https://qlik.dev/tutorials/build-a-simple-web-app#project-structure

and can get a secure web socket connection.

 

Does anyone know of a way to form a web socket connection to qlik cloud using require.js?

I WIll be happy to hear any thoughts, TNX. 

Labels (2)
1 Reply