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.
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.
|If this reply helped you to solve the issue, please mark the post as Accepted Solution. Marking 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.|
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?
Check out the News & Announcements to learn more.
Did you know that you can visit the Power Query Forum in Power BI and now Power Apps
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.
Check out our new Discover Your Career Path blog post series and get all the details.