Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

Announcements
BARC’s The BI Survey 19 makes it official. BI users love Qlik. GET REPORT
Highlighted
bekahbeets2003
Contributor

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);

            });

1 Reply
Partner
Partner

Re: qlik not going into require functions to initialize qlik

managed to solve the problem?