The CreatorCon Call for Content is officially open! Get started here.

Hide a specific catalog request, requested item and catalog task from others

JLeong
Mega Sage

Good day all!

I have a catalog item that is only visible for specific group of users. I also need to hide the request, the requested item and any task associated to it.

I used entitlement script so no other users can order the item.   What is the best way to hide the request, requested item and task to other users. It should not be searchable to others.

Thanks in advance for your help.

Regards,

Jocelyn

1 ACCEPTED SOLUTION

raves12
Kilo Sage

Before query business rules on mentioned tables will do the trick for you.



Use with caution as if there are large number of such records, it would affect system performance.


View solution in original post

5 REPLIES 5

karthik120
Giga Expert

Hi Jocelyn Leong,



How about using before query business rule?



Thanks,


Kartik


raves12
Kilo Sage

Before query business rules on mentioned tables will do the trick for you.



Use with caution as if there are large number of such records, it would affect system performance.


Thanks Ravi and Kartik!


Appreciate your assistance.


Ayush Sharma2
Giga Contributor

Hi,



When you add someone into the available for then that is basically the user criteria


so what you can do you can check the user criteria and if the person exit in the user criteria then try to find the item name


when you are able to get the item name query the RITM table and query on item name then fetch all the RITM belongs to that item, Similarly by using the same fetched RITM you can get the TASK and the request



And then try to hide and show on the basis of all this



Thanks


Ayush


Please Hit Correct, Helpful or like,if you are satisfied with this response.