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

Trigger On Open

Hi All,

On Open, I want to default the selection. But I want this to happen only for few Users. Is it possible?

Thanks,

Varun Reddy. K

1 Solution

Accepted Solutions
m_woolf
Master II
Master II

I think so.

You can load the concatenated list of user ids, for example:

'12345,54321,67834' as UserList;

Then in the trigger, you can put something like:

if(index(UserList,upper(osuser()))>0,Value to select)

View solution in original post

3 Replies
sunny_talwar

I have not tried this before, but I think you should be able to do this using OSUser() function.

m_woolf
Master II
Master II

I think so.

You can load the concatenated list of user ids, for example:

'12345,54321,67834' as UserList;

Then in the trigger, you can put something like:

if(index(UserList,upper(osuser()))>0,Value to select)

varunreddy
Creator III
Creator III
Author

Thanks guys,

OSUser() concept worked.

Cheers,

Varun Reddy