Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello All,
I am using
Qlik Sense April 2020
qliksenseserver:13.72.3
I want to do Partial Reload for the data in some app. I found that I can use app.doReload() javascript merthod
qlik.app.doReload(qMode, qPartial, qDebug)
I created Reload Button as described in the below Video:
https://www.youtube.com/watch?v=_fgUBRndn30
uses the below in the Button on-click action:
<lui-button ng-click="app.doReload(null,Boolean(true),null)">Reload app</lui-button>
The button works properly and reload the data but not partial reload. I know this as I used IsPartialReload() in load script and ofcourse the data itself as depicted in the below load script. The variable LoadType always get Standard and the data of QlikData1.xlsx is only loaded.
LET loadtypevar = IF(IsPartialReload(),'Partial','Standard');
LOAD Now() AS LastLoad AutoGenerate 1;
LOAD '$(loadtypevar)' AS LoadType AutoGenerate 1;
LOAD
Region,
Sales
FROM [lib://AttachedFiles/QlikData1.xlsx]
(ooxml, embedded labels, table is Sheet1);
ADD ONLY LOAD
Region,
Sales
FROM [lib://AttachedFiles/QlikData2.xlsx]
(ooxml, embedded labels, table is Sheet1);
try this: ng-click="app.doReload(0,true,false)"
Works fine as partial reload for me
I can't run the Reload Button with your both settings. But I can with setting: <lui-button ng-click="app.doReload()">Reload app</lui-button>.So how can I do PartialReload?