0 Replies Latest reply: Feb 24, 2017 9:26 AM by Ignacio Bonet RSS

    Create log depending on a variable

    Ignacio Bonet



      I want to generate log files depending on a variable


      I have the following macro


      Function Inc()


      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