cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

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
Highlighted
Community Support
Community Support

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
Highlighted
Power Apps
Power Apps

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!

Highlighted
Community Support
Community Support

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
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,396)