Skip to main content
Solved

Text Block formatting when being sent as part of Notification message.

  • February 3, 2021
  • 4 replies
  • 195 views

Forum|alt.badge.img+8

Hi there,

FSM6ux

We often fire a notification using the TEXT_LINE_CODE as the trigger to an event that is picked up fires the notification based on that even.

We often use a predefined text block as a template that the person creating the note on the SmartClient adds the relevant information to and when saved the Notification message pulls in the Request_Text.Text.

The notification message can be formatted using HTML and the Body Format selected = HTML.

 

The outcome is that the content in the Notification message is formatted as required but any Carriage Return or Line Spacing that is in the Note (i.e. Request_Text.Text) is not formatted and ends up being received as a long unformatted string of text.

 

How can I pull in the note content and send it in a formatted way?

 

Many thanks and Best Wishes

Angelo

Best answer by PROHARIHP

Hi @AngeloPav ,

If you want to get the text in HTML format, we need to enter the same like notification message, If you double click on the text you will get the HTML editor window and on that, if you enter the data it will store as HTML format in request_note.text_rtf field.

 

 

Thanks,

Hari

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

4 replies

Forum|alt.badge.img+6
  • Hero (Partner)
  • 20 replies
  • February 3, 2021

Hi @AngeloPav ,

 

If you want to populate the exact request_text note means, format your request note and use request_text.rtf field to map in the notification message.

 

request.rtf stores the text in HTML format so you can get better formatting.

Thanks,

Hari


Forum|alt.badge.img+8
  • Author
  • Do Gooder (Customer)
  • 28 replies
  • February 4, 2021

Many thanks for the reply and support Hari,

 

Bizarrely, looking at the request_text.text_rtf field, it is blank? Does it need to be mapped in some way?

Kind regards,

Angelo


Forum|alt.badge.img+6
  • Hero (Partner)
  • 20 replies
  • Answer
  • February 4, 2021

Hi @AngeloPav ,

If you want to get the text in HTML format, we need to enter the same like notification message, If you double click on the text you will get the HTML editor window and on that, if you enter the data it will store as HTML format in request_note.text_rtf field.

 

 

Thanks,

Hari


Forum|alt.badge.img+8
  • Author
  • Do Gooder (Customer)
  • 28 replies
  • February 23, 2021

Many thanks Hari, 

Your response is very much appreciated.

 

Best regards, 

Angelo


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings