Show Short Description in My Requests - Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2022 08:28 AM
Im sure this is out of the box, and I am just not finding it.
I have a request from senior management that in the Self Service Portal to add the Short Description to the Requests view
This is what we currently see
We want to add the short description as the IT Ops - Adhoc Request is the name of the Service Catalog item, but there will be a lot of these that come in. The short description is the actual project name, is this an out of box thing I can change?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2022 08:40 AM
Hi,
Please visit this link if it helps:
https://community.servicenow.com/community?id=community_question&sys_id=cc49ad04db4a9b402b6dfb651f961908
Regards,
Ankita Sarkar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2022 08:50 AM
Appreciate it, but I don't know where to find that script..
I assume I go here
Portal > Service Portal Configuration > Widget
I can see the Widget My requests and My Requests v2
When I open that, both show
This widget is read only and cannot be edited except for the Public checkbox. You can clone this widget by clicking the button in the top right corner of the editor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2022 08:53 AM
Hi,
You need to clone any OOB widgets to customize the code. Once you clone the widget, you will be able to see the code. Once you are done, add the widget to the page instead of the OOB widget in the Page designer.
Regards,
Ankita Sarkar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2022 08:57 AM
ok, I was able to copy it, still not sure where to inject this line
var fields = $sp.getFields(gr, 'number,state,request,priority,sys_created_on,approval, description, short_description');
I know it says in the Server Script, but is there a spot in the Server Script it has to go?
I tried to just paste it in, but nothing changed