Customize Service Portal Approval Widget

gregrice
Tera Expert

I would like to customize the approval widget to show all fields of the record being requested vs just the requested item information that comes with default. (Actually exactly what this blog post is referring to https://blog.cdw.com/services/how-to-improve-the-servicenow-portal-approvals-process

Problem is it doesn't tell me what changes to make.

Example: Approval Default

find_real_file.png

Approval after customization (if I could figure out how to customize it)

find_real_file.png

 

 

1 REPLY 1

Justin77
Mega Guru

As that article suggests, you'll need to clone the widget so you can add code to it.  I would recommend embedding either the form widget or the ticket fields widget to meet your needs.

 

See here on how to replace an OOTB widget with a cloned one:

https://community.servicenow.com/community?id=community_question&sys_id=2f258b6ddbd8dbc01dcaf3231f961956

 

And see here for embedding widgets:

https://docs.servicenow.com/bundle/paris-servicenow-platform/page/build/service-portal/concept/c_NestedWidgets.html