Hide one catalog item from an Order Guide

prabhmeet
Giga Expert

Hi,

In one of the order guide we have multiple rule bases and catalog items coming up.

For one of the catalog item 'Cloud access' can we make the change such that only to a particular group users 'Desktop' can see and access it in the order guide and rest of the users cannot view it in the order guide items?

Thanks

1 ACCEPTED SOLUTION

Hi Prabhmeet,

I was able to keep a catalog item off the "Choose Options"  for the New Hire order guide in my PDI by going to the rule base entry for the item and selecting the Available For" tab and creating the user Criteria for the group I wanted to allow.  Where are you seeing it in your slushbucket list? 

 I also tried Sanjiv Meher's suggestion of removing it using a script on the Order Guide  entry itself  - that worked nicely too.   

Bill

View solution in original post

7 REPLIES 7

SanjivMeher
Kilo Patron
Kilo Patron

Not sure, if User criteria of a catalog item would work in order guide.

Instead of that, you can add the script field to the order guide form and add script guide.remove("<sys_id_of_cat_item>")

For ex, in below order guide for new hire, i used below script.

 

find_real_file.png

 

wTo make it visible based on a group, you can try

 

if (gs.getUser().isMemberOf(­'Database'))
{
guide.remove("<sys_id_of_cat_item>")
}

Please mark this response as correct or helpful if it assisted you with your question.

Did you try this method?


Please mark this response as correct or helpful if it assisted you with your question.

AbhishekGardade
Giga Sage

Hello Prabhameet,

Check out this thread that may help:

https://community.servicenow.com/community?id=community_question&sys_id=af990fa5db5cdbc01dcaf3231f96...

But even if we happen to hide it, this would still in present in cart preview where user can click edit again or atleast see this in cart preview.

Please mark as Correct Answer/Helpful, if applicable.
Thanks!
Abhishek Gardade

Thank you,
Abhishek Gardade