Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Can you perform section access for tabs? So if I was authenticating users by their AD login information, can I say what tabs within a document they can see?
Thanks
The 'X' is an arbitrary character I put to define that the user has access to the particular tab, you must define all the access in the script. If you want to get it back you can access the sheet properties through the document properties and clean the expression.
Note that the "Access" in the expression
Only(Access) = 'X'
is a field matching the sheet and it will change between the tabs. i.e. if you have a sheet called Dashboard and another called Analysis you may have 2 different columns in your access table like "Dashboard" and "Analysis" and the conditional shown expressions will be Only(Dashboard) = 'X' and Only(Analysis) = 'X'
Got it?
Section Access;
LOAD * INLINE [
ACCESS, NTNAME
ADMIN, JOHN.DOE
USER. JANE.DOE
USER. JOE.SMITH
]
;
So after this point, how would I go about giving the access to my "Applications","User", and "Manager" tabs?
John.Doe (being the ADMIN) should see everything
Jane.Doe should see Application and User tabs
Joe.Smith should see only the Managers tabs
Ok, first of all you need a common field between the Section Access and the Section Application... this way you can use the configuration "Initial Data Reduction based on Section Access", the field could be the NTNAME for example. In the Section Application you'll have your access table, so the script may look like this:
Section Access;
LOAD * INLINE [
ACCESS, NTNAME
ADMIN, JOHN.DOE
USER. JANE.DOE
USER. JOE.SMITH
];
Section Application;
ACCESS:
LOAD * INLINE [
NTNAME, APPLICATIONS,USER,MANAGER
JOHN.DOE,X,X,X
JANE.DOE,X,X,
JOE.SMITH,,,X
];
Finally, you put the expressions on the sheets show conditions:
Only(APPLICATIONS)='X' , Only(USER)='X' and Only(MANAGER)='X'
I got it to work. Thank you.
Isnt there an inherit problem with this though. Cant the user go in and remove the conditional statement? Or is there a setting on the document properties to not allow them to see the tab properties?
If the user has access to change the sheet properties it can disable the hide conditions. You can disable the Sheet Properties for users in the Document Properties / Security tab.
Regards,
Cesar
Thats what I thought.
I looked in the Security tab and I see the "Access Document Properties" option but not the sheet properties. Which one is it?
I think its "Access Tabrow Properties".
I found a "Access sheet properties" check box in the "Sheet properties" of each sheet on the security tab, not the document properties.
Could that be what I'm looking for?
I'm not sure but I think thats it... Can you test it with a user access and tell the results?