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

Section Access

Hi,

I'm finding difficulty in implementing SA into my script.

I'm using binary load to get my data model and then in next tab using SA script.

I've to limit users based on Codes

My Script is

Star is *;

section access;

LOAD * INLINE [

    ACCESS, USERID, FEDUCODE, JOBCD1

    USER, CORP\USER1-A, ADM, AD

    USER, CORP\USER1-A, COM, AD

    USER, CORP\USER2, COM, CO

    USER, INTERNAL\SA_SCHEDULER, ,

];

section Application;

I've fields FEDUCODE, JOBCD1 in my data model but also I've same fie;ds with different names but same values. FEDU_CODE, JOB_CD1.


Normally I used random Inline load to test and the SA was successful but with my script I cannot achieve it.

5 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

May not be a solution but couple of observation.

1. Your script doesnt have any admin. You should have atleast one admin.

2. The SA_Scheduler should be an admin. So that it can reload the application.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
passionate
Specialist
Specialist

you can implement section access without Admin.

Please check on open settings in Document properties is it setup correctly

Please share app if possible

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Dear Pankaj,

If you do not have Admin, which user will have a reload right.

By default Users do not have a right to reload the application.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
passionate
Specialist
Specialist

Hi Kaushik,

Good point.

This point need to be considered but.this depends on what exactly developer wants to implement.

Regards,

Pankaj

MK9885
Master II
Master II
Author

Hi, Pankaj and Kaushik

I'm implementing this SA in Qlik Sense.

And with the same script I was able to apply section access using Internal Scheduler as an USER.

But this time it is not working and there are no document properties in Sense.

Please suggest.

Thanks.