qdt-components (Qlik Demo Team Components) is a library of components that we have developed in the demo team and that have been used in most of our mashups found in webapps.qlik.com and demos.qlik.com. It's a collection of filters, tables, barcharts, selection toolbars, or even simple getting/creating object methods from the Visualization Api. You do not have to worry about connection strings, loading Requirejs, jQuery etc. Everything is taken care for you! The library can be used in a simple html page by loading the qdt-components.js or in React and Angular2+ via npm.
Today, I will show you how to load a simple object and create a session barchart, in simple html and Angular 5
I ran into trouble with the react qdt template when connecting to a local host app. The error i get is
qdt-components.js:27 WebSocket connection to 'ws://localhost:4848//app/__________.qvf/identity/WdFNRIOuWucvKWGO' failed: Connection closed before receiving a handshake response
This was after running npm run dev. Any idea why i'm getting this?
Hope you are well. I'm developing a mashup using Angular 6 and the qdt components. I'm wondering what's the best way to set and get variables from the Qlik sense app when i'm using the qdt components and not not the Capabilities api? Or can these be used together?
So i've tried to connect the Angular template to my local version of the Helpdesk Management.qvf app using the following settings but i get the below error. Does any one know what i'm doing wrong?
So i figured it out for anyone else who has the above error. I just had to set secure to false and remove the prefix. The config settings now look like this:
I am developing an Angular mashup using your QDT-Components library, It is awesome. But I have a problem using the Global Selection Bar, the button "Selections Tool" , when is clicked it opens a large modal that used the 100% - 38px of the screen height. My selections bar is not at the top of the page, is in the middle so, if user clicks that button, it covers all the page and there is no way to close the modal (Only recharging the page). So I have experimented with changing the Stylesheet in the Google Chrome Developer Tools and works, but when I overwrite the styles in my application, It does not work. Do you have an idea of how to overwrite the CSS?
Hi, I'm trying to use "qdt-components" with react in local for development. i cloned qdt-react-websites and i started to modify connection with qlik engine in components/Qdtapp.js to set local parameters:
constoptions = {
config: {
host:'localhost',
secure:true,
port:4848,
prefix:'',
appId:'path_to_file/filename.qvf',
},
connections: {
vizApi:true,
engineApi:true,
},
};
when the app runs, gives me this error (in browser console):
WebSocket connection to 'wss://localhost:4848/app/path_to_file/filename.qvf/identity/vCeVkZeGedmjjNns' failed: Error in connection establishment: net::ERR_CONNECTION_CLOSED
how can i set connection parameters in a correct way?
The appId needs to be only the name of the .qvf app, suggested by @fabdulazeez. On a side note, the prefix is used for apps on the server when using a virtual proxy eg. Virtual proxy name with hdr would need a value of "/hdr". In most cases you can leave it empty. I would also leave secure as false for now.
I've another! I'm trying to deploy my react app in Qlik extensions. So in my app I ran "npm run build" (webpack), and I moved build folder into "documents/qlik/.../extensions" folder, then i added required files by Qlik (build.qext and build.wbl). when I open the app it doesn't load the js script file generated by "npm run build" (with no error in console!), and only displays html content. following this guide I set "homepage": http://localhost:4848/extensions/build but it doesn't work!
Have anyone ever deployed a react app into Qlik Extensions? which are the steps to do?