Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Forgot to generate log file. What to do?

Hi all,

  This is one problem that is always bugging me. I often reload my files (which take over 2 hours) and forget to check 'Generate Log File'. Is there any other way I can generate it in such cases. Also, how do I make it a default setting?

3 Replies
thomas_skariah
Creator III
Creator III

Hi,

You can do the following settings go to Document setting->general->check mark on GenerateLogfile.

Regards,

Tom

Not applicable
Author

Hi Tom. Generating a log file from the Document settings is not the issue. I wanted to know if there is any other way in case one forgets to check the setting before reload.

Not applicable
Author

Hi Mate:

This approach would make sure to enable generate log option whenever you open the app.

Step1:

Sub EnableLog  

'Macro snippet from the API gudie.  This will enable the GenerateLog property.

  set docprop = ActiveDocument.GetProperties

  docprop.GenerateLogfile = true

  ActiveDocument.SetProperties docprop

End Sub 

Step2:

Set a trigger On Open from Document Event Triggers and run the EnableLog macro...

Hope this helps...

Thanks,

Narasimha K