cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
FrustratedUser
Level: Power Up

HTML Text control in PowerApps

I created a list in Sharepoint with an address field which is set to multiline.  I have now created a customised form in Powerapps for my users, but the address field does not display properly.  I have noted that I can add a new HTMLText field but simply cannot work out how to link that to my data and display it in the correct Datacard on my form (yes, I am fairly new to this).  It does feel like Powerapps is half finished if it cannot correctly detect that a field has been set for rich text and display it correctly.  I have an urgent need to get this working and it has been over an hour of slog to try to find the answer (which I haven't yet).

6 REPLIES 6
Super User
Super User

Re: HTML Text control in PowerApps

@FrustratedUser

 

Can you share a screenshot of your form?


Vivek Bavishi aka That API Guy
PowerApps and Flow MVP
Blog | Twitter | YouTube | Community Profile | GitHub



If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

victore
Level: Powered On

Re: HTML Text control in PowerApps

I think I have a similar issue.  I am using the Rich Text Editor field so I can embed an HTML table in the body of an email I will be sending with Office365.SendEmail() function.  It shows great in the Rich Text Editor not when I get the email the outlook client shows the HTML code instead of its rendition as it shows it in the RTE body, as such:
Rich_Text_Editor.png

 This is how I receive it in the email:

<table>
<tbody>
<tr>
<th>Vendor</th>
<th>Farm Cod</th>
<th>Item Code</th>
<th>Item Description</th>
<th>Qty Sold</th>
<th>Credit Qty</th>
<th>Reason</th>
<th>Box Code</th>
<th>AC</th>
</tr>
</tbody>
</table>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>Whatever whatever</p>

 

Microsoft Employee

Re: HTML Text control in PowerApps

Hello Victore,

 

Are you using Office365.SendEmail function? If so, are you setting the email type to HTML (by using the ”isHtml:true”)?

 

Microsoft Employee

Re: HTML Text control in PowerApps

You should be able to replace the Label control in your card by the HTML Text control. The HTMLText.1.HtmlText property would be set to Parent.Default. If you want to be able to edit the HTML text as well then the best way would be to replace the TextInput control by the RichTextEditor control.

victore
Level: Powered On

Re: HTML Text control in PowerApps

This was part of my solution.  Thanks!

victore
Level: Powered On

Re: HTML Text control in PowerApps

Thanks this was the other part of my solution.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 62 members 3,459 guests
Recent signins:
Please welcome our newest community members: