Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

Announcements
Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
bekahbeets2003
Not applicable

qlik not going into require functions to initialize qlik

When i load this code, it does not step into the require.config function or the following qlik function. it skips over them.

I have the requirejs file loaded.

Errors: Uncaught reference error: qlik is not defined.

var config = {

                host: window.location.hostname, //'integration.qlik.com',

                isSecure: false,

                prefix: '/',

                port: 4848 //443

            };

doesn't step into this:

            require.config({

                baseUrl: (config.isSecure ? "https://" : "http://") + config.host + (config.port ? ":" + config.port: "") + config.prefix + 'resources'

            });

//doesn't step into this:

            var app;

            require(['js/qlik'], function (qlik) {

                qlik.setOnError(function (error) {

                    alert(error.message);

                });

//qlik is not defined:

                app = qlik.openApp('%5C%5Capfs01%5Cusers%5Crbeets%5CDocuments%5CQlik%5CSense%5CApps%5Capp1.qvf', config);

            });