- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2023 09:19 AM
Hi,
Here is my case - I had created a catalog item variable called mygroup(sys_user). In this case I need to hide a particular user who had title CEO. Please let me know if you have any idea regarding this. Thanks you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023 01:36 AM
Hello,
That is probably because it is removing all the users which has title as empty.
Please update the reference qualifier with the below code:-
javascript:'titleISEMPTY^ORtitle!=CEO'
Please mark my answer as correct based on Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2023 09:26 AM
Hello,
I believe it is a reference variable so what you can do is in the variable in reference qualifier add the below code as it is in the screenshot:-
javascript:'title!=CEO'
Please mark my answer as correct based on Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023 01:20 AM
@Saurav11& @Saurabh Gupta thanks for you help, I got an issue. When I add your code(javascript:'title!=CEO') it not only hiding the particular user with title CEO, It also hiding the many user. Total 634 user in my Instance but when I add code in reference qualifier, only 42 users are visible in catalog item field. I had attached the screen short regards the error please overview it and help me to solve the solution. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023 01:36 AM
Hello,
That is probably because it is removing all the users which has title as empty.
Please update the reference qualifier with the below code:-
javascript:'titleISEMPTY^ORtitle!=CEO'
Please mark my answer as correct based on Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023 02:30 AM
@Saurav11 can you help me to solve the issue again. I had created a catalog item variable called Executive Group. In that variable only particular group member are Visible. User with title CEO is also a member of the group. Now I need to restrict the user with title CEO in that group. I had attached the screen short regards the update please overview it and help me to solve the solution. Thank you.