Qlik Community

Ask a Question

Integration, Extension & APIs

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

Announcements
Join us for a live Q&A! September 21, 10 AM ET - Onboarding Fast in Qlik Sense SaaS! REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
neerajkumar
Contributor II
Contributor II

Want to Execute .Bat in load Script in Qlik sense

I have made changes in System.ini

[Settings 7]

StandardReload=0

OverrideScriptSecurity=1

and restarted server .

But Still it is not working it gives following error : EXECUTE statement not available in this script mode



Thanks

9 Replies
arockiyaselvana
Partner
Partner

Hi Neeraj,

Can you pls care to elaborate what kind of operation you are trying to perform here?

If everything done as the this link, Execute command should work.

The command I used in the script is:

EXECUTE <full path to bat file.bat>

e.g: EXECUTE C:\Users\G\Documents\Qlik\Sense\Apps\Backup.bat;

execute ss.PNG

neerajkumar
Contributor II
Contributor II
Author

Hi ,

We have followed same same link

Please not that ,i am not using Qlik sense desktop ,i am using Qlik sense hub

I Have tested in desktop it is working fine ,but it is not working in HUB

Please find the below snapshots .

Thanks for your reply

arockiyaselvana
Partner
Partner

For Qlik Sense Server, Pls refer the following link:

Disabling standard mode

To be honest, you have to be extreme careful to do this. And Please dont forget all the Caution messages in Qlik Help site.

neerajkumar
Contributor II
Contributor II
Author

Have you tried to execute .bat file on Qlik Sense Server.

arockiyaselvana
Partner
Partner

Nope. I have tried this in Desktop only. So I cant comment any results in Server.

neerajkumar
Contributor II
Contributor II
Author

Thanks  ,i have done by changing in QMC Engines

Not applicable

Hello Neeraj,

Can you please provide the change details that you made in the QMC Engines.

Because i am having the same problem but not able to find the solution.

Thanks,

Prerak shah

konrad_mattheis
Luminary Alumni
Luminary Alumni

Hi,

you can use that connector. The compiled version will be soon on qlik market.But you can compile your own version.

GitHub - konne/qlik-connector-psexecute: Qlik Connector to Execute PS Scripts

bye Konrad

dvdbly01
Contributor II
Contributor II

Hi Prerak,

It seems you have to go to the QMC, in the "CONFIGURE SYSTEM" pane, "Engines" section:

There, you open the Engine needed and untick the "Standard Mode" box:

All the attempts I made to comply with instructions going through the Settings.ini file failed!

Incidently, we are running Qliksenseserver11.11.2.

Regards,

David