Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

boonhaw_tan
New Contributor III

Loading very slow in single page mashup

Hi All,

I built a single page mashup with all quite many of objects using tab toggle but it take long time for loading objects into mashup.

Besides i could feel the mashup page is lag when making selection.

Thus, i tried to separate it into few pages mashup using identity. Unfortunately, the current selection in page A are disappear when i go to page B. I'm using "No anonymous user" access mode.

Below is the config:-

var prefix = window.location.pathname.substr( 0, window.location.pathname.toLowerCase().lastIndexOf( "/extensions" ) + 1 );

var config = {

  host: window.location.hostname,

  prefix: "/",

  port: window.location.port,

  isSecure: window.location.protocol === "https:",

  identity: "rvga1b2c3d45e"

};

Would need advice on how to preserve current selection across mashup pages.

Is there any hint i could do to improve the loading speed if single page mashup like load the active tab first?

Thanks,

Boon Haw

1 Reply
erik_wetterberg
Honored Contributor

Re: Loading very slow in single page mashup

Hi,

One way to speed up your mashup is to wait with the getObject calls until the tab where the object is visible is displayed.

Erik

Erik Wetterberg
https://extendingqlik.upper88.com/
Community Browser