Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
Talk to Experts, a LIVE Q&A Webinar. Bring your Qlik Sense Business questions on Aug. 4th. Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Re: How to reload a QlikSense application by command line ?

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

Highlighted
Partner
Partner

Re: How to reload a QlikSense application by command line / Button external HTML file?

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 !!

 

Highlighted
Contributor III
Contributor III

Re: How to reload a QlikSense application by command line ?

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