cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mansoor88
Level: Powered On

bug htmlText not available for selection and Email

Dear All,

 

I am trying to send a HTML mail, 

To do so I ve created the Hmtl text, and set the button 'onSelect

 

Office365Outlook.SendEmail("mailId"; "Subject" ; relatedScreen.HtmlText (missing)

 

i cant select when i Type the Html for the HtmlText?

 

any tips please?

 

Thanks for your help,

Regards

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: bug htmlText not available for selection and Email

Hi @Mansoor88 ,

Could you please share a bit more about the "ContactHtml" that you mentioned within your screenshot? Is it a Screen or a Html Text control?

 

Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. If you want to reference the HTML text content from the Html Text control, please use the following formula directly:

HtmlText1.HtmlText

7.JPG

Note: The HtmlText1 represents the Html text control in my app.

 

On your side, please consider modify your formula as below:

Office365Outlook.SendEmail("mailId"; "Subject" ; HtmlTextControl.HtmlText)

Please make sure you added a Html Text control in your app, then reference the proper control name within your Office365Outlook.SendEmail(...) function.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
PowerApps Staff CarlosFigueira
PowerApps Staff

Re: bug htmlText not available for selection and Email

Instead of trying to get the HtmlText from the related screen, you need to retrieve it from the control itself:

HtmlTextControl.gif

As shown above, you can find the control name in the tree view on the left side.

Hope this helps!

Community Support Team
Community Support Team

Re: bug htmlText not available for selection and Email

Hi @Mansoor88 ,

Could you please share a bit more about the "ContactHtml" that you mentioned within your screenshot? Is it a Screen or a Html Text control?

 

Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. If you want to reference the HTML text content from the Html Text control, please use the following formula directly:

HtmlText1.HtmlText

7.JPG

Note: The HtmlText1 represents the Html text control in my app.

 

On your side, please consider modify your formula as below:

Office365Outlook.SendEmail("mailId"; "Subject" ; HtmlTextControl.HtmlText)

Please make sure you added a Html Text control in your app, then reference the proper control name within your Office365Outlook.SendEmail(...) function.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,895)