In message form, we are having code field, what does this mean?

Community Alums
Not applicable

Currently, when we open our "sys_ui_message" table ,then we are having two records whose key is "between" and language is "Deutsch".  

UTSAVJAISWAL_0-1750186067571.png
Now, when I see the difference between this record i can see the code field is filled with some values,.
Can I know does this code field value means and what if I delete any one record??

Thanks in Advance
Utsav

 

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Utsav JAISWAL 

yes those are different records.

Code field helps to uniquely identify the correct message when localization comes into picture.

It can be used in scripts or UI policies etc 

good explanation here

What is "code" field in sys_ui_message table 

See below how it's called

AnkurBawiskar_1-1750223080548.png

 

AnkurBawiskar_0-1750223057380.png

 

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

2 REPLIES 2

SANDEEP DUTTA
Tera Patron
Tera Patron

HI @Utsav JAISWAL ,

Code is kind of a tag or flag which can be used which refers for a particular purpose.

You shouldn't delete the record.

 

Thanks,
Sandeep Dutta

Please mark the answer correct & Helpful, if i could help you.

Ankur Bawiskar
Tera Patron
Tera Patron

@Utsav JAISWAL 

yes those are different records.

Code field helps to uniquely identify the correct message when localization comes into picture.

It can be used in scripts or UI policies etc 

good explanation here

What is "code" field in sys_ui_message table 

See below how it's called

AnkurBawiskar_1-1750223080548.png

 

AnkurBawiskar_0-1750223057380.png

 

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