Discussion Board for collaboration related to QlikView App Development.
In my Dashboard,i'm using Text object as Tabs.Like HOME,Underwriting,CLAIMS,REINSURANCE,,,..
I need to show the all the tabs to ADMIN.
For USER1 UnderWriting and CLAIMS,
For USER2 CLAMS and REINSURACE,
FOR USER3 REINSURANCE and Underwriting.
I attached Image of my dashboard.Can Any one pls help me out how can i restrict it and need coding for this.I'm new to this concept.
in the properties of each sheet , go to General->Show Sheet, select the Conditional radio button
in the text box
use something like
this means on this sheet it is visible to users Admin, and User1 (OSuser() returns the user name in the following format : domain\user_name
then in the document properties Settings->Document Properties-> check the Hide Tabrow checkbox
in the actions of your text box select Layout->Activate sheet-> put the id of the sheet
I dont want that the user should not see this Text Objects when s/he login.
I mean to say Admin can see all the text boxes,
User can see only the text boxes which we assigned to them.I want to filter the Text Objects in main page itself.
Using OSUser() to hide objects will work.
But - just to be clear: This is a lousy method to achieve security. If the goal is security, then you should choose another method (in addition). See more on Data Reduction – Yes, but How?
Create one variable with name "=osuser" as value.
Then in the textbox in the Layout Tab. on Conditional show give the created variable is equal to 'ADMIN'.
=OSuser() = 'ADMIN' . If it is not admin then it will not the text object.
Hope this help
If you use the above condition.
Text object will be visible only when your user name = 'ADMIN'
so if the user name is USER 1 then USER 1 = Admin (False) - - - >Hide the Text object
if user name is ADMIN then ADMIN =ADMIN (True) - -> Enable the Text object.
PS: If you want to visible the hide object manually then GOTO
Settings --->Sheet properties ---->objects -----> "Your Object" ------> Properties -------> Enable.
if it is still confusing please attach a sample file.
Please find the attachment and let me know how can i do it.Please highlight where u have done changes through screen shots.It will be helpful for me.