Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Add label to reference field on UI Page

JJG_SNOW
Mega Guru

I have a reference field on a UI Page, but I cant seem to add a label to the field.

The field appears as expected, but the label is just missing: 

JJG_SNOW_0-1735663687940.png

 

Here is the reference field on the UI Page:

<g:ui_reference name="select_transfer_order" id="select_transfer_order" table="alm_transfer_order" label="Select Transfer Order"></g:ui_reference>

 

As you can see, I have the label defined as "Select Transfer Order". Why is it not showing up? 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@JJG_SNOW 

you will have to add the label before that like this

Select Transfer Order: <g:ui_reference name="select_transfer_order" id="select_transfer_order" table="alm_transfer_order" label="Select Transfer Order"></g:ui_reference>

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@JJG_SNOW 

you will have to add the label before that like this

Select Transfer Order: <g:ui_reference name="select_transfer_order" id="select_transfer_order" table="alm_transfer_order" label="Select Transfer Order"></g:ui_reference>

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader