Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

Announcements
BI & Data Trends 2021. Discover the top 10 trends emerging in today. Join us on Dec. 8th REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Partner
Partner

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. 

1 Reply
Highlighted