Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Section Access NTNAME Conditional Show on Button

Trying to implement section access so only certain users are able to see a button when logging into the access portal.

Here is what i have scripted so far and this works for granting USER1 and USER2 access to the portal.  For instance, a USER3 does not even see the access portal on the web.

SIACCESS:
LOAD * INLINE [
    SIACCESS
    Y
    N
];

Section Access;
LOAD * INLINE [
    ACCESS, NTNAME, SIACCESS
    ADMIN, USER1, Y
    USER, USER2, N
];
Section Application;

Now I have a button called (SI) with a conditional Show which looks like this:

if(SIACCESS='Y', 1, 0)

How do i get it so the "Y" or "N" from the section access user records tells the button to appear or not?  Am i missing something in the Section Access area?

1 Solution

Accepted Solutions
Nicole-Smith

Make sure you have the following option checked in Document Properties:

View solution in original post

4 Replies
Nicole-Smith

Make sure you have the following option checked in Document Properties:

tseebach
Partner - Creator III
Partner - Creator III

The field SIACCESS would in many cases return more than 1 value. To check if this is the case, then create a textboject with the expression =SIACCESS

If thats the case, I would use if(Only(SIACCESS)='Y', 1, 0) instead. So there is a aggregation around the field.

Not applicable
Author

thanks for this tip...this solved my issue.

Nicole-Smith

Great!