Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have implemented security to my QV reports.
And in document properties -> security i have disabled the user reload property ,edit script property .So the user can not reload the document. As i have tested that even after giving the section access if user is reloading the document he is able to see all the data ,instead he should see only the data for which he has the access.
So i have disabled the reload option for the user.
But i have given the code "Activedocument.reload " in the ,macro for the auto reload of the document.
As my requirement is whenever user is opening the document he should able to get the fresh data from the database.
The reload macro is working proper only when the admin is logging in.
But i want the user should also get the refreshed data automatically along with the data restriction with respect to his access.
Is this possible in Qv,if so could anyone please help me how to get the same???
Thanks in advance,
Mahasweta
Just to add one more point to my doubt,
When the reload is happening for the admin, then its prompting to save the changes, canit be done like it should save automatically instead of asking one pop up to save the document.
I have tried under user preference -> save -> save after reload.
But it seems thats not working ,as after that also its asking me to to save the changes.
Is this possible?
I need this urgent.
Please help me.
Thanks,
Mahasweta
Hi Mahasweta,
That's working as designed. When the document is reloaded, all data will be available and therefore the reload option should be disabled for users in general.
My suggestion is to host the document on QVS and set the document to reload at an ok interval and tell QVS and the document to auto push the new data to the client.
Or, if you don't use QVS, create a script that only loads the data that the users should be able to see and then give them the reload option but not the possibility to edit the script.
Hi Johannes,
Thanks a lot for your reply.
Yes i am hosting the documents in QVS, could you please tell me how to set the document to
reload at an ok interval and tell QVS and the document to auto push the new
data to the client. and the data should be with respect to the user access.
And could you please tell me how to create a script that only loads
the data that the users should be able to see and then give them the
reload option but not the possibility to edit the script.
Thanks & regards,
Mahasweta