Solved

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

  • 3 February 2021
  • 4 replies
  • 184 views

Userlevel 3
Badge +6

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

icon

Best answer by PROHARIHP 4 February 2021, 15:51

View original

This topic has been closed for comments

4 replies

Userlevel 2
Badge +6

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

Userlevel 3
Badge +6

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

Userlevel 2
Badge +6

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

Userlevel 3
Badge +6

Many thanks Hari, 

Your response is very much appreciated.

 

Best regards, 

Angelo