How can we add a Description column under My Requests that is visible on the ServiceNow portal?

Ria
Tera Contributor

 

As shown in the screenshot, only the Request Number, State, and Updated columns are currently visible under My Requests.

Ria_1-1779178406938.png

 

 

3 REPLIES 3

Tanushree Maiti
Mega Patron

Hi @Ria 

 

You have to clone OOB Portal widget My Request and update there.

 

Refer: Adding column in the My Request V2 widget in Service Portal 

https://www.servicenow.com/community/developer-forum/display-short-description-on-widget-my-requests...

Customizing the "My Requests" Widget in Service Portal

https://www.servicenow.com/community/developer-forum/add-description-under-my-request-gt-gt-request-...

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Shruti
Giga Sage

Hi @Ria 

To add a description column you can clone the OOTB widget and modify HTML code and server script. 

 

OR 

Alternative way is to add description below REQ no. without adding extra column

Shruti_0-1779179289538.png

1. Navigate to Service catalog -> My request filter

2. Open below record

Shruti_1-1779179393001.png

 

3. Add description to secondary fields

Shruti_2-1779179415176.png

 

Venky Kshatriy2
Tera Expert

Open this table (request_filter_list) and open the requests record update the secondary filed 

VenkyKshatriy2_0-1779182729359.png

go to this table sp_page and open the Request page and go to Container 2 open the my request widget and clone it  after go to HTML Script after 119 line add below line
<span role="columnheader" class="col-xs-3 padder-r-none padder-l-none">${Description}</span>
after go to the Server script after 256 line add below line
record.description = gr.getDisplayValue('short_description')
then save and check 

If my response is correct, please accept the solution so it can assist others as well.