Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Not applicable

Web access portal conditional display problem

Hi

I have a number of charts that I want to only display to certain users.  I have done this by creating a variable

vShowUser=Sign(Wildmatch(OSUser(),'*name*')) and then making the table layout conditional on vShowUser=1

This works fine on the desktop development version, but doesn't work on the WebAccess Portal, and the tables are visible to all users.

How can I fix this please?

ta

Richard

1 Solution

Accepted Solutions
Sokkorn
Honored Contributor

Re: Web access portal conditional display problem

Hi Richard,

Not sure you try this yet

vShowUser=Sign(Wildmatch(QVUser(),'*name*'))


Regards,

Sokkorn

5 Replies
Sokkorn
Honored Contributor

Re: Web access portal conditional display problem

Hi Richard,

Not sure you try this yet

vShowUser=Sign(Wildmatch(QVUser(),'*name*'))


Regards,

Sokkorn

Not applicable

Re: Web access portal conditional display problem

Thanks Sokkorn – I’ll give that a go.

Siva_Sankar
Honored Contributor

Re: Web access portal conditional display problem

Try in the layout ->show condition  ->use expresion like if OSUSER() = userA

Regards.

Siva

Not applicable

Re: Web access portal conditional display problem

Hi Richard,

   Did you applied the Object Level Section Access in the application?

   If yes please check the option "Intial Data reduction Based on Section Access" is enabled or not under the Document Properties of Opening TAB. if not enable and reload the document and then try.

Not applicable

Re: Web access portal conditional display problem

Spot on Sokkorn - thanks - worked a treat!