Question

Convert Plain text to HTML (RTE)

hi ,

For my in flight cases, i have to copy the plain text details to a new field which is a Rich Text Editor. i am using a Data transform to copy the field but the details in Rich text editor field, comes in a plain text format only. Not in the way ,how it should be displayed in a rich text control.

kindly suggest if we can convert a plain text to HTML format in pega by some function or anything else

***Edited by Moderator Marissa to move from Pega Academy to Pega Support Community; update platform capability tags***

Comments

Keep up to date on this post and subscribe to comments

Pega
November 13, 2019 - 12:32pm

The Rich Text Editor is a basically a 'what-you-see-is-what-you-get' editor. If you feed it plain text it will only show you plain text. The editor with Advanced toolbar options does give you some options to preserve HTML markup/formatting if you are 'manually' copying from a source e.g. WORD , webpage etc. But there are 2 things I do not really understand about your configuration to be able to provide something more helpful here - 

1. "i am using a Data transform to copy the field" - can you elaborate why you are doing this? Are you trying to automate the copy rather than do this manually?

2. What is the source from where you are copying? Is it a document? another field on the same screen?

November 18, 2019 - 8:44am
Response to Sunny_GCS

Hi sunny ,

Even iam facing the same issue that is i want to get html content into RTE but iam seeing the tags,can you please help me where i can see the options to get the content in html formatting.

Thank you,

Abdul Sofiyaan.

Mod
November 18, 2019 - 9:13am
Response to Abdul

Hi Abdul,

We see that you have created a new post for this query: Issue in getting html table in RTE

Tagging it here so that the responses aren't duplicated.

Lochana | Community Moderator | Pegasystems Inc.