Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Our next Qlik Insider session will cover new key capabilities. Join us August 11th REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Allow/Disallow tabs without Section Access

Hi, I have a requirement, which I feel would be common in most implementations. Based on the user login, I need to allow/disallow tabs.

e.g.

Peter     SH01

MacGill SH01

Peter    SH02

This will be a sample maintenance, say SH01 is the sheet id. Based on the user login for e.g. Peter, he should get access to both sheets. MacGill should get access only to SH01.

Can you please help how to implement this.

Thanks,

Ram

13 Replies
tresesco
MVP
MVP

See, you can always use variable instead of using the OsUser() directly, but in that case too, you have to compare that value with some string, right?

Not applicable
Author

hmm. This link shows how to implement using section access. I can't afford to take the user name as input. The osuser is captured in a variable and based on that variable and the configuration i showed above it should decide to allow/disallow tabs.

Not applicable
Author

it is not a comparison against a string. it is a comparison against a static table that i have got.

tresesco
MVP
MVP

You mean, you have table like:

SheetUser
SH01Peter
SH02Jack

If so, you can give a try (not sure):

=If(osuser()=User, Sheet)='SH01'   // for sheet1