Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
johnan
Creator III
Creator III

Just reload whitout Publisher

Hi, i have a QlikView with Macro to export images (exportImages). 

I want to use this on a simple Windows 10 client. 

Can i use som batchfile to reload this file with type AutoMize?

Is that possible?

 

Br

1 Solution

Accepted Solutions
marcus_sommer

It was reloaded but it don't showed a detailed log - else just executed.

But the parameter /r won't trigger the macro because there is no UI with it. To get this you need to use the parameter /l which also load the UI - but it don't saved and closed the app - it remained open. This could be adressed by adding the appropriate save- and close-statement for the document and a quit-statement for Qlik as tool.

Further if you want to export charts/images you need to ensure that they are visible - means hidden and/or minimized objects couldn't be exported. For this you need to go to the right sheet and set the visibility-conditions properly and/or restore the object.

- Marcus

View solution in original post

4 Replies
dplr-rn
Partner - Master III
Partner - Master III

reloading qlikview app with bat file is striaghtforward. create bat file with below code

"C:\Program Files\QlikView\qv.exe" /R ".\yourqvwname.qvw"
Exit

Not sure what you mean by automize
johnan
Creator III
Creator III
Author

Hi, it's open the QlikVIew but not reloading?

Logg:
2019-10-18 14:00:02 Exekveringen påbörjades.
2019-10-18 14:00:02 QlikView Desktop Version 12.20.20500+2018-03-26 13:04:09+bd4e308
2019-10-18 14:00:02 CPU Target x64
2019-10-18 14:00:02 Operating System Windows 10 Enterprise (64 bit edition)
2019-10-18 14:00:02 Wow64 mode Not using Wow64
2019-10-18 14:00:02 Language 041d Svenska (Sverige) Swedish
2019-10-18 14:00:02 Country 46 Sweden Sweden
2019-10-18 14:00:02 MDAC Version 6.3.9600.16384
2019-10-18 14:00:02 MDAC Full Install Version 6.3.9600.16384
2019-10-18 14:00:02 PreferredCompression 2
2019-10-18 14:00:02 EnableParallelReload 1
2019-10-18 14:00:02 ParallelizeQvdLoads 1
2019-10-18 14:00:02 AutoSaveAfterReload 0
2019-10-18 14:00:02 BackupBeforeReload 1
2019-10-18 14:00:02 EnableFlushLog 0
2019-10-18 14:00:02 SaveInfoWhenSavingFile 0
2019-10-18 14:00:02 UserLogfileCharset 65001
2019-10-18 14:00:02 OdbcLoginTimeout -1
2019-10-18 14:00:02 OdbcConnectionTimeout -1
2019-10-18 14:00:02 LongestPossibleLine 1048576
2019-10-18 14:00:02 MaxCoreMask -1
2019-10-18 14:00:02 ScriptWantsDbWrite false
2019-10-18 14:00:02 ScriptWantsExe false
2019-10-18 14:00:02 LogFile CodePage Used: 65001
2019-10-18 14:00:02 UseMemoryFillPattern 1
2019-10-18 14:00:02 ScriptMode Legacy (gives greater system access) (aka qv11 mode)
2019-10-18 14:00:02 SequentialThreadCount 17
2019-10-18 14:00:02 NumberOfCores (effective) 4
2019-10-18 14:00:02 ReloadCodebase Bnf
2019-10-18 14:00:02 Reload Executed By ADL\s103aj
2019-10-18 14:00:02 Process Executing QlikView Desktop
2019-10-18 14:00:02 Process ID 10136
2019-10-18 14:00:02 Exekveringen avslutad

marcus_sommer

It was reloaded but it don't showed a detailed log - else just executed.

But the parameter /r won't trigger the macro because there is no UI with it. To get this you need to use the parameter /l which also load the UI - but it don't saved and closed the app - it remained open. This could be adressed by adding the appropriate save- and close-statement for the document and a quit-statement for Qlik as tool.

Further if you want to export charts/images you need to ensure that they are visible - means hidden and/or minimized objects couldn't be exported. For this you need to go to the right sheet and set the visibility-conditions properly and/or restore the object.

- Marcus

Brett_Bleess
Former Employee
Former Employee

John, did Arthur or Marcus' posts get you what you needed, or are you still trying to sort things out?  I know you had some issues with Arthur's not doing what you needed, but did Marcus' guidance allow you to get things working?  If so, use the Accept as Solution button on his post, and if you are still stuck, leave an update on where you are with things, so we can see if we can come up with any other ideas.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.