4 Replies Latest reply: May 18, 2012 5:53 AM by maurobuh RSS

    Reload and save using command line

      Hi to everyone,

      I'm trying to update my qvw files using a batch file. I have two of them one for the data and one for the securty, so my  simple batch file looks like this


      "C:\Program Files\QlikView\qv.exe" /r Data.qvw

      "C:\Program Files\QlikView\qv.exe" /r Security.qvw


      The security file makes a binary import of the data one.


      It works only if I let the "Save Document" and "Reload" permission checked under Document properties -> Security, and this is something I don't want to allow to the USERS


      Any idea?


      thank you for the help

        • Re: Reload and save using command line
          Miguel Angel Baeyens de Arce

          Hi Mauro and Welcome to the QlikCommunity!


          If you want to differentiate between document user and admins you will need to use section access in your document. Check this thread that goes along the process of building a batch file and a section access accordingly to this principle.


          All users in section access table with ADMIN value in the ACCESS field will be able to open, edit, and save the document. However, users with USER value in ACCESS field will only be granted with those permissions you have set up for users in the Security tab of the Document Properties in the Settings menu.


          Hope that helps.