ServiceNow ESC EC_Dashboard , My Request Widget , add assigned to field/ label

BramaP
Tera Contributor

Service-now ESC EC_Dashboard , My Request Widget , add assigned to field and label for Example (See screenshot), Ive added the assigned to but would like a label to let users know that its "assigned to " to the following technician
Example: (How to add the field names such as "Assigned to" )

BramaP_0-1763568575460.png

 

1 ACCEPTED SOLUTION

Sarthak Kashyap
Mega Sage

Hi @BramaP ,

 

I think you need to check this which widget is calling and you need to change the HTML from widget level only.

 

SarthakKashyap_0-1763572112290.png

SarthakKashyap_1-1763572136562.png

 

Check HTML code and check from where assigned to value is set and add static text for assigned to

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak

View solution in original post

2 REPLIES 2

Sarthak Kashyap
Mega Sage

Hi @BramaP ,

 

I think you need to check this which widget is calling and you need to change the HTML from widget level only.

 

SarthakKashyap_0-1763572112290.png

SarthakKashyap_1-1763572136562.png

 

Check HTML code and check from where assigned to value is set and add static text for assigned to

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak

Thank you for your help, Pointed me in the right direction. 
Widget HTML Code Updated,  used "f.label" to display the label for each value such as "Assigned to" , "Priority"  & "number" . Label was used to avoid statically hard coding each field label.  

Appreciate your fast responses. 
Base Widget: "My Requests"
<! -- sample code snippet below -- > 
<span class="text-muted">
<b>{{::f.label}}:</b> {{::f.display_value}}
</span>
<!-- End of Snippet -- >