Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
bekahbeets
Creator
Creator

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
kassyernar
Partner - Contributor
Partner - Contributor

managed to solve the problem?