Qlik Community

Deployment Framework

Announcements
QlikWorld 2022, LIVE in Denver CO., May 16-19, 2022. REGISTER NOW TO RECEIVE EARLY BIRD PRICING
cancel
Showing results for 
Search instead for 
Did you mean: 
bmenicucci
Contributor III
Contributor III

Single Application for different groups of users

Hi all,

I'm struggling to find a way to manage different groups of users with a single application. Those groups differ as their data are not stored in the same place. Also, the company doesn't want the data merged. Does anyone out there had a similar challenge?

Any help appreciated. Thanks!

1 Solution

Accepted Solutions
AlbertoV
Partner
Partner

Most great developers I know are lazy too, so kudos for that 😉.

Other option is to use variables to control the "lib" where you are pulling the data from. For example 

SET vQVDPath = 'lib://Container_Company1/1.QVD/3.Load';

then use the variable on the Load statement

QVD1:

LOAD * FROM [$(vQVDPath)/QVD1.qvd] (qvd);

By doing this you could use the same App published 2 times (with different folder connection or lib)

I hope this helps.

View solution in original post

5 Replies
AlbertoV
Partner
Partner

It's clear they don't want the data merged but have you explored / demoed dynamic data reduction through Section Access? It works like a charm.  

 

bmenicucci
Contributor III
Contributor III
Author

Hi Alberto, thanks for your prompt reply. Section access in already in place, though here we are talking about two companies of the same group that could share the application but not data. And as I'm quite lazy (😁) I hate to have to duplicate the app and the scripts every time there is an update!

AlbertoV
Partner
Partner

Most great developers I know are lazy too, so kudos for that 😉.

Other option is to use variables to control the "lib" where you are pulling the data from. For example 

SET vQVDPath = 'lib://Container_Company1/1.QVD/3.Load';

then use the variable on the Load statement

QVD1:

LOAD * FROM [$(vQVDPath)/QVD1.qvd] (qvd);

By doing this you could use the same App published 2 times (with different folder connection or lib)

I hope this helps.

View solution in original post

bmenicucci
Contributor III
Contributor III
Author

Hi AlbertoV,

thanks for having pointed me toward the solution!

AlbertoV
Partner
Partner

My pleasure.