Skip to Content
Nov 28, 2016 at 12:22 PM

How to display Rich text (HTML) in a screen?

507 Views Last edit Nov 28, 2016 at 12:30 PM 2 rev


I am trying to use the standard embedded component '/SAP_BYD_APPLICATION_UI/Reuse/Notes/singletextreadonly.EC.uicomponent' to show a Ticket note which contains rich text (HTML). I can see the text but also the HTML tags so it is not working as I expected.
The EC is bind to ServiceRequest.TextCollection.Text.TextContent.FormattedText.content and it has the parameter 'TextContentTypeCode' equals to 'FormattedText'.

I also tried this other EC, 'BYD_COD/UIInfraestructure/RichTextBox/RichTextBox_EC.EC.uicomponent' but it seems to be that it is SAP exclusive and I cannot use it.

How can I show the HTML text?

Alejandro Cordero.