Qlik Community

Ask a Question

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
Qlik Highlights 2020 Giveaway! Watch, reply and have a chance to win a $200 Amazon Gift Card! Watch Video
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

QlikView app with Section access freezes onOpen reload.

Hi,

I'm new to Qlikview and to these forums so please bear with me.

I have created a qlikview application that requires authentication so i added a section access in the hidden script. It works as expected.

Next I needed to reload the data whenever a user were to open it so I add an action to the OnOpen trigger which calls the macro below

sub reloadTheData

ActiveDocument.Reload

end sub

when I try to open the qv app I get the "Executing script ...." window and nothing else happens. I have go back to a previous version to make any changes.

There are no error logs. Any help or direction would be greatly appreciated.



thanks

1 Solution

Accepted Solutions
Master II
Master II

Please check the rights for the users in QV: should be ADMIN to perform reloads

and also under Windows: they must be able to read/write in the location of the qvw.

HTH
Peter

nb: consider it critical to give ADMIN-rights to users

View solution in original post

2 Replies
Partner
Partner

Hi,

I tried to replicate your scenario but everything worked fine. I attached my sample QVW for u to take a look (the section access user/pwd is admin/admin). Can you change it to force the error?

Regards,

Fernando

Master II
Master II

Please check the rights for the users in QV: should be ADMIN to perform reloads

and also under Windows: they must be able to read/write in the location of the qvw.

HTH
Peter

nb: consider it critical to give ADMIN-rights to users

View solution in original post