How to display only HR requests in ESC portal

Manasa Hegde
Giga Expert

Hi All,

 

"My Request" in ESC portal displays all the requests. We have got a requirement to just display HR  cases in another tab. I have cloned the My Request Plugin and tried displaying it somewhere else in the portal. Documentation suggests changing the filters. 

 

https://docs.servicenow.com/bundle/tokyo-employee-service-management/page/product/employee-center/co...

 

If I do that it will also impact the My Request display. I do not want to alter that, just display HR request else where in the portal. Any suggestions on how to achieve it?

 

Kind Regards,

Manasa

1 ACCEPTED SOLUTION

Manasa Hegde
Giga Expert

I edited my cloned filter with encoded query and it is fixed now. 

View solution in original post

8 REPLIES 8

Community Alums
Not applicable

Hi @Manasa Hegde ,

 It's not advisable to alter the OOTB widgets.

Since you already have a new one created, you will have to play with the server side code after you have cloned the 

my request widget :

SandeepDutta_0-1673525857195.png

 

 

Hi Sandeep,

 

Thanks for your reply. I am not editing OOB widget. The widget which I cloned uses the Request filter for populating selection and if I edit data in "request_filter", it will impact My Request display also.

 

Kind Regards,

Manasa R Hegde

Community Alums
Not applicable

Hi @Manasa Hegde ,

 If you have cloned the widget , you can make your changes to this widget, why will it impact the original "My Requests" filter.

ManasaHegde_0-1673527223218.pngManasaHegde_1-1673527301970.png

Hi Sandeep,

Please look at above code. I am not experienced in changing the code, but here it is refering to the filter. One option is to disable which is not required and this will affect My request too.

 

I would assume there should be OOB page or Widget which should be possible. But seems thats not the case.

Kind Regards,

Manasa R Hegde