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 our new profile badges recognizing authored solutions!
We are excited to announce the Power Apps Super Users!
Did you miss the call? Check out the Power Apps Community Call here.
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!