Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Delestia
Contributor II
Contributor II

Drop fields based on tag assigned

Hello experts,

I am hoping there is a more elegant solution to my app field security question. We publish an app in two flavors, "Sensitive" and "Non-Sensitive" which are mirror images from sheets to load editor. The only difference is there is a variable based on the app name:

LET vSensitive = if(wildmatch(DocumentTitle(), '*- Sensitive*'),1,0);

We then have a simple load statement switch based on that variable to include the sensitive fields or not such as below:

If vSensitive Then
[Table A]
Load [Field A]
    ,[Field B]
From Source;
Else 
[Table A]
Load [Field A]
From Source;
End If

I'm hoping that I could use field tags or some other indiciator to highlight which fields are private/sensitive to ensure they are not loaded into the final application. Something to the affect of "Drop Fields with Tag = 'Private';"

Labels (5)
1 Reply
marcus_sommer

Take a look on Section Access to control who get access to which data:

Managing data security with Section Access ‒ Qlik Sense on Windows

- Marcus