Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Qliksense_77
Creator
Creator

Section access

Hi

I have an app where everybody should be able to everything except two fields: omitfield1 and omitfield2

Omitfield1 : there are only 3 admins, that should be able to see this field. The 3 admins should be able to see everything.

Omitfield2:  besides the three admins there are only 1 user (1234\XYD), that should be able to see this field. This user can not be a admin, since the user should not be able to see omitfield1.

Is this possible ?

 

I use below section access for omitfield1. This is woking fine. But dont know how to restrict acces to omitfield2.

Section Access;
 
LOAD * Inline [
    "ACCESS" , "USERID"   ,  OMIT
    USER,*,Omitfield1,  
    ADMIN,   INTERNAL\SA_SCHEDULER,   
    ADMIN, 1234\XYA,
   ADMIN, 1234\XYB,
   ADMIN, 1234\XYC,

];

Section Application;

    
  
 
 
Labels (1)
1 Reply
Vinay_B
Support
Support

Hi @Qliksense_77 Can you use the below script and let me know if that helps?

 

Section Access;

LOAD * Inline [ "ACCESS", "USERID", "OMITFIELD1", "OMITFIELD2"

USER, *, OMIT, OMIT

ADMIN, INTERNAL\SA_SCHEDULER, ,

ADMIN, 1234\XYA, ,

ADMIN, 1234\XYB, ,

ADMIN, 1234\XYC, ,

USER, 1234\XYD, OMIT,

];

 

Section Application;

If this resolves your query, please click on "Accept as Solution" for confirmation. Thanks!