Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Khan_Mohammed
Honored Contributor 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.

Tags (1)
5 Replies

Re: Section Access

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

Highlighted
passionate
Valued Contributor

Re: Section Access

you can implement section access without Admin.

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

Please share app if possible

Re: Section Access

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

passionate
Valued Contributor

Re: Section Access

Hi Kaushik,

Good point.

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

Regards,

Pankaj

Khan_Mohammed
Honored Contributor II

Re: Section Access

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.