Record Producer Issue

SS1510
Tera Expert

I have created a record Producer.

In that i have added variable of type multi line Text
when i add something in that with line break ,then i record it is coming in one line. Does anyone have idea how we can correct this?



SS1510_0-1768400556706.png

 

SS1510_2-1768400617972.png

 

 

1 ACCEPTED SOLUTION

SS1510
Tera Expert

Hello,

It worked with the script i added 

var desc = producer.u_description + '';
desc = desc.replace(/\n/g, '<br/>');
current.u_description = desc;

View solution in original post

3 REPLIES 3

Dr Atul G- LNG
Tera Patron

Hi @SS1510 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0867759

Resolution

  • Go to the "sys_properties" table
  • Open the "glide.ui.escape_text" system property record and set the value to true.
*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

@Dr Atul G- LNG 

The system property is already set to TRUE, but still not working

SS1510
Tera Expert

Hello,

It worked with the script i added 

var desc = producer.u_description + '';
desc = desc.replace(/\n/g, '<br/>');
current.u_description = desc;