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.

How to change the state label on problem form

robertpetrovics
Tera Contributor

Hello!

I want to change the state label on the problem table but when i try to change the label i get this:

label.png

 anyone able to help me?

 

1 ACCEPTED SOLUTION

Vishal Birajdar
Giga Sage

Hi @robertpetrovics 

 

It should work...!!

 

VishalBirajdar_0-1698748453645.png

 

Output : 

VishalBirajdar_1-1698748476714.png

 

 

Can you share screenshot of configure dictionary form on state field ...!! (may be related list)

 

 

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates

View solution in original post

4 REPLIES 4

Harsh_Deep
Giga Sage
Giga Sage

Hello @robertpetrovics 

 

Please create onLoad Client Script on the change table-

function onLoad() {

g_form.setLabelOf('state', 'New Name Of Field');
}

 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.

Hi,

That will only work on form, not on Lists or reports.

 

-Anurag

Anurag Tripathi
Mega Patron
Mega Patron

Can you tell how you got to this page?

Did you right click on the field and click on configure label or how?

-Anurag

Vishal Birajdar
Giga Sage

Hi @robertpetrovics 

 

It should work...!!

 

VishalBirajdar_0-1698748453645.png

 

Output : 

VishalBirajdar_1-1698748476714.png

 

 

Can you share screenshot of configure dictionary form on state field ...!! (may be related list)

 

 

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates