- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2025 01:22 AM
Hi all,
Is it possible to customaize employee center's My request view?
There're two OOTB views "Open Requests" and "Closed Request" and I want add "All" view which display user's all opened request.
Regards.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2025 03:22 AM
Hi @shun6,
There is no module in ServiceNow which gives the ability to add more items to the views. All this is hardcoded on the My Request Widget. Please follow the steps below to achieve your requirement:
If you are using the OOTB widget, please navigate and clone the My Request widget
https://YOUR_INSTANCE_NAME.service-now.com/sp_config?id=widget_editor&sys_id=8cc0df25875023000f220cf...
Add the following to the "Server Script" part as per below screenshot:
msg.allRequests = gs.getMessage("All requests");
else if (localInput && localInput.view === 'all'){
data.filterMsg = gs.getMessage("Search all requests");
}
Comment the following lines of code as per the screenshots below
Add the following the the "Client Controller" part as per the below screenshot
, {key:'all',value:c.data.messages.allRequests}
Navigate to the page on your ESC. CTRL and right click on "My Request" widget. Then click on "Page in Designer"
Look for the newly cloned widget. Drag and drop it on the page
Below are results of the Widget configuration:
If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2025 02:28 AM
Hi @shun6
Yes, 100%, but it will be a small customization. We did the same for my previous client. Don’t make any changes to the out-of-the-box widget. Instead, copy the widget and make the changes there. The logic is already in place; you just need to modify the condition for 'all,' and you're good to go. Give it a try and share your feedback.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2025 03:22 AM
Hi @shun6,
There is no module in ServiceNow which gives the ability to add more items to the views. All this is hardcoded on the My Request Widget. Please follow the steps below to achieve your requirement:
If you are using the OOTB widget, please navigate and clone the My Request widget
https://YOUR_INSTANCE_NAME.service-now.com/sp_config?id=widget_editor&sys_id=8cc0df25875023000f220cf...
Add the following to the "Server Script" part as per below screenshot:
msg.allRequests = gs.getMessage("All requests");
else if (localInput && localInput.view === 'all'){
data.filterMsg = gs.getMessage("Search all requests");
}
Comment the following lines of code as per the screenshots below
Add the following the the "Client Controller" part as per the below screenshot
, {key:'all',value:c.data.messages.allRequests}
Navigate to the page on your ESC. CTRL and right click on "My Request" widget. Then click on "Page in Designer"
Look for the newly cloned widget. Drag and drop it on the page
Below are results of the Widget configuration:
If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2025 02:35 AM - edited 03-14-2025 02:35 AM
Hi @shun6 ,
I have provided detailed steps on how to achieve your requirements. Kindly check!
If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.