Hi Everyone,
I am building an app which has an email template within powerapps, I have provided the screenshot below. The recipients & CC fields are combo boxes, subject is normal text input and the message (body) is Rich Text Editor.
The email screen pulls data from various other screens depending on the user's entries.
Now for the problem that I am having. I am pulling HTML data from other screen into Rich Text Editor, so the screen is preloading an email template depending on user's input. One of the main functionalities that I needed were tables, which after lot of help from google and these forums I have been able to manage. The Rich Text Editor itself will not show me the tables, but if I send an email using SendEmailV2 or use HTML Text I can see the tables and the alignments I have done. Screenshot of the email sent with the table.
The problem is that when a user tries to make small edits in Rich Text Editor, as in add or remove text the table disappears.
Screenshot of the edit made, the edit highlighted in red color and bold.
Email received after the edit
As you can see the table looses the borders and the alignment too, I am at a loss to try and figure out what is the issue or the problem. I have attached a word file with the code I am using for the table, any help here will be greatly appreciated. Thanks in advance, cheers.
@sikuness I'm not surprised that it does that because the documentation (https://docs.microsoft.com/en-gb/powerapps/maker/canvas-apps/controls/control-richtexteditor) says,
Control's intended use is to format text and does not guarantee to preserve the integrity of the input HTML.
Further, it also does not support Tables.
In my opinion, it may never work. I would rather use an HTML text control to show the contents and not allow the user to make any changes here.
WarrenBelz
83
Most Valuable Professional
MS.Ragavendar
49
mmbr1606
41
Super User 2025 Season 1