Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! 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?