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: 
Anonymous
Not applicable

Create log depending on a variable

Hi

I want to generate log files depending on a variable

I have the following macro

Function Inc()

  EnableLog

End Function

Sub EnableLog

  set docprop = ActiveDocument.GetProperties

  docprop.GenerateLogFile = ActiveDocument.Varibles("vAux").GetContent.String

  ActiveDocument.SetProperties docprop

End Sub

Wich is call in the script

Let vLogGen = Inc();

When I run this with Desktop it works good, but in the server doesnt work, I have tried System, Setup, QlikView Servers, expand and click, Seucrity tab in the right pane "Allow unsafe macro execution on server" and "Allow macro execution on server" ticked

but no luck

can any one help

0 Replies