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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
hexakhwab
Contributor
Contributor

Qlik Sense - Section Access by Stream

Hi!

I would like to have section access based on the stream that the app is on.

So if the app is on stream A, data X is shown, if it's on stream B, then data Y. Is this doable?

Thanks!

Labels (1)
2 Replies
Ray_Strother
Support
Support

Hello ,

You should be able to accomplish this , meaning on the individual applications, as the app in each stream will have a different ID. The below links should assist you .

1. https://help.qlik.com/en-US/sense-admin/May2023/Subsystems/DeployAdministerQSE/Content/Sense_DeployA...
udit_k
Partner - Creator II
Partner - Creator II

same app in two streams are having different app  id's.

So each stream could have different Section access script on basis of reduction field value .

First APP

Section Application;

SectionAccess:
LOAD *
Inline [
ACCESS ,USERID ,REDUCTION 
USER ,DOMAINNAME\RPEARCE ,1 
];

Section Application;
TableA:
LOAD * INLINE [
REDUCTION , Type , Comments
1 , Red , Value
2 , Orange , Value
3 , Yellow , Value
4 , Green , Value
5 , Blue , Value
6 , Indigo , Value
7 , Violet , Value
];

TableB:
LOAD * INLINE [
Type , Price
Red , 100
Orange , 200
Yellow , 300
Green , 400
Blue , 500
Indigo , 600
Violet , 700
];

Second App:

 

Section Application;

SectionAccess:
LOAD *
Inline [
ACCESS ,USERID ,REDUCTION 
USER ,DOMAINNAME\RPEARCE ,1  
USER ,DOMAINNAME\RPEARCE ,2  
USER ,DOMAINNAME\RPEARCE ,3  
]; Section Application; TableA: LOAD * INLINE [ REDUCTION , Type , Comments 1 , Red , Value 2 , Orange , Value 3 , Yellow , Value 4 , Green , Value 5 , Blue , Value 6 , Indigo , Value 7 , Violet , Value ]; TableB: LOAD * INLINE [ Type , Price Red , 100 Orange , 200 Yellow , 300 Green , 400 Blue , 500 Indigo , 600 Violet , 700 ];