Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I need to execute .bat from Qliksense Hub (not qliksense desktop)
You can use the Execute statement:
EDIT: To use Execute you need to switch to "Legacy mode" which is not recommended for security reasons. You really should know what you're doing here.
Thank you Juraj for your quick reply.
Can you elaborate how i can switch to legacy mode and how it hamper security
Thanks
Hi,
I'll start with security. Go through these links and make sure you fully understand security implications of switching to legacy mode:
If you still think this is what you want to do, then go to QMC->Engine->Advanced and uncheck "Standard Mode".
(as described here: https://help.qlik.com/en-US/sense/February2018/Subsystems/ManagementConsole/Content/edit-engine.htm).
Juraj
Thank you again Juraj. i want to call a HTML file through qliksense. so i am thinking to execute the bat from qliksense and that bat file will help to execute the HTML.
is there any direct way to call HTML from qliksense , if not , is there anyway to call bat file from qliksense hub without hampering the security
Thanks,
Do you want to load data from an HTML file or open a browser and view an HTML file? If simply open a browser and view, any specific reason you need to do this from script?
i want to reload the NPrinting task after the qliksense app reload successfully. for that i will call an HTML once all the qliksense app reload successfully and then using javascript in the HTML , i will execute the NPrinting report tasks.
Optionally you can call NPrinting API directly from the script:
How to use Qlik NPrinting APIs inside a Qlik Sense load script
I understand you would need to upgrade the REST connector to recently released version 1.3, possibly the whole environment to Feb 2018 (not sure, did not go through all the details). This would be the safest way to do it.
i have 1.2 version of REST connector. So it may also not help
REST connector is available as a separate download, so you can download the most recent version from the download site.