Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
tahirkhalil
Creator
Creator

Section Access Help - Data Reduction

I have a case - in section access I have following entries:

USER NTNAME ZoneLevel

ADMIN, *, *

USER, TEST1, SOUTH

USER, TEST2, NORTH

USER, TEST3, CENTRAL

How is it possible to give access to a new user TEST4 for both SOUTH & NORTH?

Regards,


Tahir

1 Solution

Accepted Solutions
hic
Former Employee
Former Employee

... or just add TEST4 on two lines:

ADMIN, *, *

USER, TEST1, SOUTH

USER, TEST2, NORTH

USER, TEST3, CENTRAL

USER, TEST4, SOUTH

USER, TEST4, NORTH


HIC

View solution in original post

6 Replies
oknotsen
Master III
Master III

Remove ZoneLevel from the Section Access table and instead add a Profile column.

Make a new (inline) table called "AccessProfile" in which you combine Profile with ZoneLevel.

You can now add multiple lines in this "AccessProfile" table, one for every ZoneLevel you want to give someone access to.

May you live in interesting times!
sasikanth
Master
Master

hi,

Try Some thing like this,

Section Access;

Load * INLINE [

USER ,NTNAME 

ADMIN,TEST

USER, TEST1

USER, TEST2

USER, TEST3

USER,TEST4

USER,TEST5

];


load Another table


LOAD * INLINE [

NTNAME,ZONELEVEL

TEST1,SOUTH

TEST2,NORTH

TEST3,CENTRAL

TEST4,SOUTH

TEST4,NORTH

];


Section Application;

hic
Former Employee
Former Employee

... or just add TEST4 on two lines:

ADMIN, *, *

USER, TEST1, SOUTH

USER, TEST2, NORTH

USER, TEST3, CENTRAL

USER, TEST4, SOUTH

USER, TEST4, NORTH


HIC

tahirkhalil
Creator
Creator
Author

Hi Onno

Please see the attached QV doc.

The section access is not working - no idea why?

Hidden script password is 123

This is hidden script:

STAR IS *;

Section Access;

LOAD * INLINE [

    ACCESS, USERID, AccessProfile

    ADMIN, USER1, PROFILEC

    USER, USER2, PROFILEN

    USER, USER3, PROFILES

];

Section Application;

[AccessProfile]:

LOAD * INLINE [

    Zone, AccessProfile

    CENTRAL, PROFILEC

    NORTH, PROFILEN

    SOUTH, PROFILES

];

STAR IS ;

oknotsen
Master III
Master III

Hi,

IIRC the name of all the columns in the section access table need to be in ALL CAPS.

So AccessProfile should be ACCESSPROFILE.

May you live in interesting times!
tahirkhalil
Creator
Creator
Author

Thank you - I missed that

Thanks for your help.