Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Field Selections

Hi All,

I have a user_name field with all the users and sensitive_data_flag with 0 or 1 against each user_name.

And vUser variable that fetches user_name from OSUSER.

i will get user_name from vUser and once i get user_name corresponding sensitive_data_flag should be selected

Requirement is When i click on a button i want sensitive_data_flag to be selected.

Please help me with this.

I have attached QVW

Thanks & Regards,

Keerthi

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

The button have to use action "select in field", the field is sensitive, and the search string:

=only({<user={$(vUser)}>} sensitive)

View solution in original post

5 Replies
Not applicable
Author

Can you explain further what you mean? You want a button that displays a user's sensitive data flag when they're logged in? The requirement is unclear.

giakoum
Partner - Master II
Partner - Master II

Hi,

     Use Trigger for this.

     Go to Document properties-->Triggers tab-->FieldEvent Triggers-->select the user field-->Click on the add action button under on select.

     click Add button-->Use Select Possible-->Use the sensitive field name

Anonymous
Not applicable
Author

The button have to use action "select in field", the field is sensitive, and the search string:

=only({<user={$(vUser)}>} sensitive)

sivarajs
Specialist II
Specialist II

If you are using QV11then go to button actions , select in field then give fieldname and flag as 1.

Else try the attached

Not applicable
Author

When i click on a button based on users sensitive data flag, field sensitive data flag should be selected.

Got the solution =only({<user={$(vUser)}>} sensitive)

vUser fetches the user name from OSUSER and checks for sensitive field. I have used button with select in field to select the sensitive field.