Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

datanibbler
Not applicable

Execution of (parts of) script dependent on the username?

Hi,

I have, in other documents, already employed the SECTION ACCESS method so that I have full access to the documents and everyone else (identified by username, no password) has only limited access.

For a new Dashboard, I would like to take this concept a step further: Can I set the script up so that, when either myself or one specific other colleague open the document, one tab of the script will be executed (loading a table in its entirety, incl. item-level details) and when anyone else opens it, another tab will be executed instead (loading the table in aggregated form for management_users)? The difference in size and thus performance of the document would be relevant, but I'd like to avoid splitting it into two documents.

Can that be done in QlikView itself - I don't want to start messing with macros and VBScript/Jscript.

Thanks a lot!

Best regards,

DataNibbler