Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
fabricecallegar
Partner - Creator
Partner - Creator

security rule, restrict data connection available in an app according a custom property

Hello,

I want to restrict data connection available in an application according a custom property.

For example:

list of data connection:

- DC1 => @Customer = A

- DC2 => @Customer = B

- DC3 => @Customer = A

 

The application is set to @Customer = A

I would like for only data connection DC1 and DC3 to be visible for this app.

 

How can I do that ?

 

Regards

Labels (1)
2 Replies
fabricecallegar
Partner - Creator
Partner - Creator
Author

The security rule works if I write it like that :

resource.@Customer = "A"

=> only the data connection DC1 is available in the application (in all application actually).

However, I don't want the @Customer value written in hard copy in the rule but comes from the same custom property in the application.

something like that (doesn't work):

resource.@Customer = resource.app@Customer

 

Can anyone help me?

regards

 

fabricecallegar
Partner - Creator
Partner - Creator
Author