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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
amien
Specialist
Specialist

use the same app for mashup and hub

i have one app which i want to use for both a mushup and a hub (difference audience) .

This should be no problem.

But i have some specific mashup sheets (which contains specific mashup objects) which are not needed for the hub users.

Is there a way (security rule?) to hide these "mashup-sheets" for hub users?

Thanks in advanced

2 Replies
Chanty4u
MVP
MVP

am not sure i think this can be possible from mashup only

create a users Administration you can add the sheets to show

dilip1234
Creator
Creator

Hi,

You can achieve this through mashup I think.

Let's look at the below code:

var app = qlik.openApp('Centers.qvf', config);

app.getObject('QV01','razjX');

app.getObject('QV02,'PRkYGW');

QV1 and QV2 are two separate objects in  your mashup. You can show/hide these objects basis on your authorization matrix using ajax call. In mashup you can use jquery ajax call by just importing jquery reference.

To hide/show these objects, you can use below syntax of jQuery:

$('#QV01').show();

OR

$('#QV01').hide();

I think this is one way to resolve your issue.

Thanks

Dilip Solanki

Thanks
Dilip Solanki