Catalog Item/Content Item 'Available' and 'Not Available' User Criteria functionality
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 11:54 AM
I have a Content Item that has a user criteria added to the 'Available' tab. I have added a user criteria to the 'Not Available' tab. To test the updates, I impersonated a user that meets the user criterial in both of 'Available' and 'Not Available' tabs. I ran the user criteria diagnostic that showed the the user should Not be able to see the content item. However, when I impersonate the user in Employee Center, they can see and access the content item. I added the user criteria to the 'Not Available' tab to restrict the Content Item to the users that meet that criteria. Question -- If the user criteria for 'Available' and 'Not Available' are both true for a user, does the user criteria for 'Available' take precedence? Also, can you suggest what I can do to make this work? See attachments that contain the 'Available' and 'Not Available' user criteria.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 11:15 PM
Hi @Sharon Williams ,
In Available For script you can check one more condition along with other conditions as below:
User.Company Code.Company ID is not 622
This way user won't be able to see content item.
Please mark my answer helpful if you find it useful.
Thanks,
Kavita Bhojane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 08:07 AM
Hi Kavita. Thanks for your reply. I have more than one User.Company Code.Company ID to check for. I have attached a script I created that did not work. I'm not sure how to update the script in Available to include the additional code that is needed. Can you help with that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2023 01:34 AM
Hi @Sharon Williams ,
You can write below condition for multiple User.Company Code.Company ID:
User.Company Code.Company IDNOT LIKE622^ORUser.Company Code.Company IDNOT LIKE611^ORUser.Company Code.Company ID.........
Please mark my answer helpful if you find it useful.
Thanks,
Kavita Bhojane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2023 05:08 AM