How to set up the message table

RyoyaFukuda
Tera Contributor

Hi all

Please tell me how to set up the message table(sys_message).
What should I put in the field marked with a red line in the image?
Also, what is this for?
I would appreciate it if you could let me know.

 

RyoyaFukuda_1-1730858491167.png

 

2 REPLIES 2

PrashantLearnIT
Giga Sage

Hi @RyoyaFukuda 

 

The Message [sys_ui_message] table contains the translations for informational messages, confirmation messages, error messages, and other types of system messages across the platform.

The Message table contains custom translatable text from the following sources when these texts are wrapped correctly:
  • HTML in a UI page in a customer-created application
  • Service Portal widget messages (including in surveys)
ServiceNow checks this table for translated text when a client script contains a getMessage call or a server script contains a gs.getMessage call. The main fields for this table are:
  • Key: internal, case-insensitive, unique identifier of this message.
  • Language: language the message is translated into.
  • Message: translated text that users see.

 

********************************************************************************************************
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.

********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect


Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************

Hi @PrashantLearnIT 
Thank you for your response.
That information was also mentioned in the Docs, so I have already obtained it.
What I want to know is the part with the red underline in the image.
How about those fields?