cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sudosaurus
Post Prodigy
Post Prodigy

Patching HTML Text to Power Automate email

Hello,

 

Forgive me if patching is not the right thing here!

 

In my PowerApps canvas app, I am using a SharePoint column called "Comments" and having followed a tutorial online I've been able to append comments with my name, date and time - this data is only visible in the PowerApps form.

 

Some how, Id like the ability to send an email each time a comment is appended by using the Send button as shown in the screenshot. But only display the latest update and not all updates.

 

Any ideas?

 

comments.png

3 REPLIES 3
rsaikrishna
Super User
Super User

@sudosaurus 

 

It seems to be you are using Patch on clicking Send button to update your comments. Add Outlook connection to your Power App, then in OnSelect property for Send button, before Patch function, you can use <outlookconnector>.SendEmail() to send the email with the value of Comments field in the body of the email.

 

Regards

Krishna Rachakonda

If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.

@rsaikrishna 

 

Currently I am using the standard SharePoint wave button at the top of this form to save the comments.

 

could you tel me how I incorporate patch into the button to do this instead? and include the outlook send connector code as well?

 

thanks 🙏 

@rsaikrishna any ideas?

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,100)