Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I would like to keep a separate sheet for me to work on with new draft reports & charts that no other user can see/access
What is the easiest way to do this?
Thanks
Note that if you use the above methods, you will also have to do the same on any reports that you create as well as in the sheet properties.
The other way is to simply use "vShow = 1" and create a variable called vShow. Manually changing this value will show/hide the sheet. Sure it's not as autonomous but still works.
The easiest way is to take a copy of the qve file and store it where only you can see. This also lowers the risk of breaking an application, if your work includes modification of the load script.
For a full answer you need to tell us exactly what you shall be hiding from other people.
Show condition: qvuser()='You'
If you use NTFS security instead of QV security then you can put
=OSUser()='yourdomainname\your_username'
in Sheet Properties -> General -> Show Sheet -> Conditional
I have files, where only several users can access to specific sheets. I also use both QV and NTFS security. In this case my sheet showing condition looks like:
=Match(QVUser(),'USER1','USER2') OR MixMatch(OSUser(),'domain\user1','domain\user2')
Rgs,
AT
Note that if you use the above methods, you will also have to do the same on any reports that you create as well as in the sheet properties.
The other way is to simply use "vShow = 1" and create a variable called vShow. Manually changing this value will show/hide the sheet. Sure it's not as autonomous but still works.
The easiest way is to take a copy of the qve file and store it where only you can see. This also lowers the risk of breaking an application, if your work includes modification of the load script.
For a full answer you need to tell us exactly what you shall be hiding from other people.
Apologies...do I create the 'vshow' variable in 'Variable Overview'? Assume I define it as '1' and then in the conditional bit I just add 'vshow'= 1'
New to a lot of this...would this variable therefore be unique to my instance of the QVD
Good Morning Artjoms,
Sorry for disturbance through this mail.
Actually in my case also i have used =Match(QVUser(),'USER1','USER2') but my client asked that he will be create one table where all user's Domain,ID and Right will be available.Now i have to access that table and have to match OSUSER with the user having ADMIN rights for provding access to some sheets in the application.
So my issue can be summarized as follows -----
Hide some sheets in the Application available on the Server.
-----------------------------------------------------------------------
My Client asked me to hide some sheets of QV application available on Server (Accesspoint) based on the USER having ADMIN rights.
I have used Conditional SHOW sheet check-box with following logic --------
I have created 2 vairables named as "Admin" and "Var"
means for these sheets I have given SHOW SHEET condition as =(Admin)>0
Where "Admin" is a variable with definition
--------- =(fieldindex('ca_user',Var))
And "Var" is a variable with definition ----------- =subfield(osuser(),'\',2)
As you know, OSUSER() shows DOMAIN\USER-ID.
"ca_user" is a field(column) showing USER-ID with administration rights from a table created by Client.
It works fine on local machine but it doesn't work on Server like Accesspoint.
Insted of FIELDINDEX,i have used EXISTS but this function also works only on local machine not on the Server.
Could you please tell me how to hide sheets in the application available on the Server.
Thanks and Regards
Ajay
A convienent way to hide the "developer sheet" is to set the Conditional Show property of the sheet (General tab) to "0". This will hide the sheet. When you want to see the sheet press Ctl-Shift-s.
This is not a good way to hide secure data, but it works for the cosmetic stuff.
-Rob
Hi Rob
I tried this and found that when document is published via AccessPoint (we use IE plugin) you cannot unhide the sheet again.
Working a treat when in the in development.
Is this a limitation?
Thanks
Soreen
Wow, Rob, never knew you could do that! Wish I had, could've saved me tons of time, heh! I'm sure that will prove very useful in the future! Top tip! For those who don't know: Ctrl + shift + s will overrule any conditional display of sheets or sheet objects so that everything becomes visible, and then toggles it back on again. This is especially useful for me, as I have a lot of hidden objects based on a users visibility restrictions, so working out all the permutations that can show a certain object is sometimes hard, being able to see everything no matter what is a Godsend!
Another way,
Only display the sheet to your username/osuser, and hide for others.
right clikc on sheet -> properties -> click conditional under show sheet, the add the following expression:
=subfield(OSUser(),'\',2) = 'YOUR OSUSERNAME'