Edit behavior of "Request For" in catalog item

JérômeM
Tera Contributor

Hello
I have a need in a portal catalog item to filter the users possible to be selected in the "Request For".
Does anyone have an idea on how I can achieve this ?
I want to only return users from a specific company and not the full list.
Thanks
Jérôme

JrmeM_0-1743084401168.png

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@JérômeM 

simply update the query in this property -> glide.sc.request_for.query

I updated it with query and it has only 1 user

AnkurBawiskar_0-1743086884271.png

 

AnkurBawiskar_1-1743086897039.png

 

Output: I am able to select only that user, so the filter got applied

 

AnkurBawiskar_2-1743087018898.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

12 REPLIES 12

Can I script that based on a specific catalog item ?

@JérômeM 

For that you might have to make some changes in widget.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Can I apply a copy of the widget to a specific catalog item or will I have to change it for all ? I didn't manage to find the way to replace the widget used. I did a clone already.