Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
nkosinde13
Creator
Creator

Section access on buttons. Landing page

Hi All

I have a model that has section access applied. Only difference is that it does not hide sheets that users are restricted from as the model uses buttons to navigate through different sheets.

So instead users can still see the buttons they're restricted from, but they are grayed out with no actions i.e. they cannot click it to activate the sheet or perform any action.

The problem that I have is, the first button on the model is "Dashboard"and some users don't have access to it. Currently when the model is open all users land into Dashboard even if they are restricted. So how do I ensure that those users land only on the button(s) they have access to?

Thanks

Labels (2)
1 Solution

Accepted Solutions
nkosinde13
Creator
Creator
Author

Good day All

Thank you so much for all the responses. We managed to find a workaround, so in the user access list I created a field: DocumentID which is basically the sheet object ID for each buttons in the model. So for each user I put in the sheet ID for the first button they have access to, forcing them to land on that and this is because we did not want to hide the buttons which they do not have access to, we instead grayed them out. 

Then under Document triggers, on Activate Sheet I used this expression:

 =Only({<[NT NAME] = {$(vOSUser)}>}DocumentID)

See the attached document for an example of how the access looks on the model as well as example of user list.

 

View solution in original post

3 Replies
Claudiu_Anghelescu
Specialist
Specialist

You can create a file where you can put USERID and SHEET as columns

Then you load the data from Excel file and put the condition in (Layout - Show -Conditional) on sheet/object like this:

 

=upper(OSUser())= USERID and SHEET='Dashboard'

To help community find solutions, please don't forget to mark as correct.
Brett_Bleess
Former Employee
Former Employee

See related post: https://community.qlik.com/t5/New-to-QlikView/Users-need-to-land-on-specific-sheets-depending-on-acc...

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
nkosinde13
Creator
Creator
Author

Good day All

Thank you so much for all the responses. We managed to find a workaround, so in the user access list I created a field: DocumentID which is basically the sheet object ID for each buttons in the model. So for each user I put in the sheet ID for the first button they have access to, forcing them to land on that and this is because we did not want to hide the buttons which they do not have access to, we instead grayed them out. 

Then under Document triggers, on Activate Sheet I used this expression:

 =Only({<[NT NAME] = {$(vOSUser)}>}DocumentID)

See the attached document for an example of how the access looks on the model as well as example of user list.