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: 
Not applicable

How to reload a QlikSense application by command line ?

Hi,

To reload a qlikview application, I use the following command line :

call "c:\program files\qlikview\qv.exe" /R "Path\FileName.qvw"

Now, I want to do the same thing with a qliksense application. So, I'm looking for a way to reload a qliksense application (qvf file).

Thanks,

32 Replies
arturomiquelveyrat
Partner - Contributor III
Partner - Contributor III

You can use QlikSenseReloader. Works both for Desktop and Enterprise versions.

steeramp
Partner - Creator II
Partner - Creator II

Hi to everyone ,

I need help about the command line for reload an APP Qlik sense in enterprise environment , if it's not possible I think a workaround with a Button "Reload" inside an HTML page.

I have made this script  but without success:

<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<title>RELOAD QLIK</title>
</head>
<body>
<h1>RELOAD QLIK</h1>
<button type="button" onclick="testqs()">
clik to start </button>
<div id="status"> Ready.. </div>
<script>
function testqs()
{
var reloadtest="ws://185.xx.xxx.44:4848/app/";
var ws=new WebSocket(reloadtest);
var socketStatus= document.getElementById('status');
////////////////////////// OPEN APP ///////////////////////////
//"D:\\QlikShare\\Apps\\60d83ebf-3aab-4cea-a76d-e6a3c2fcc228"

var opendoc=
{
"method":"OpenDoc",
"handle": -1,
"params": {
"qDocName":"60d83ebf-3aab-4cea-a76d-e6a3c2fcc228"
},
"outKey":-1,
"id":1,
type:"open"
};

////////////////////////// RELOAD APP ///////////////////////////
var doreload=
{
"handle": 1,
"method":"DoReload",
"params":{
"qmode":0,
"qPartial": false,
"qDebug": false
},
"jsonrpc":"2.0",
"id":2,
type:"run"
};


////////////////////////// SAVE APP ///////////////////////////
var dosave=
{
"handle": 1,
"method":"DoSave",
"params":{
"qFileName":"60d83ebf-3aab-4cea-a76d-e6a3c2fcc228"
},
"id":3,
type:"save"
};

}
</script>
</body>
</html>

 

ERROR:

ReloadQlik.html:15 WebSocket connection to 'ws://185.xx.xxx.44:4848/app/' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT

 

P.s. I have added in White List the server address  185.xx.xxx.44

Please, someone Can help me ??  
THANKS !!

 

Dharanidharan_DD

Hi,

help me..!

How to Auto reload in qlik sense server only when there is a change in data or when the data is updated