Hello everyone, welcome to my PowerApps series blog, in this blog we explore how to connect an app to Office 365 Outlook, available functions and how they can be used.
Office 365 Outlook
Office 365 Outlook connection helps you to show, send, delete, and reply to email messages.
You can add controls to perform these actions in your app. For example, you can add Text input controls to ask for the recipient, the subject, and the body of the email, and add a Button control to send the email.
Connect an app to Office 365 Outlook
Add Office 365 Outlook connection in an app. Read my blog PowerApps- Get Trending Documents for adding a connection in an app.
Once you added connection, we can use function related to email.
– We Show emails by using by setting Item property of Gallery to Office365.GetEmails({folderPath:”Sent Items”, fetchOnlyUnread:false, top:2, searchQuery:”powerapps”}) This query get all sent emails with contain text powerapps
– We also delete an email Office365.DeleteEmail() and mark an email as read Office365.MarkAsRead()
– Send an email without an attachment by using Office365.SendEmail(“Test3@test.onmicrosoft.com”,”Send email from PowerApps”,”New PowerApps is added”)
See outlook email format which you send an email from PowerApps
If you want the user to send email dynamically, use Email screen format under New Screen in the PowerApps.
This screen helps to search people or email address, add subject and message. Internally email screen calls send email function like Office365.SendEmail(“Test1@test.onmicrosoft.com, Test2@test.onmicrosoft.com”,”Send email from PowerApps”,”New PowerApps is added”)
I would like to know how I can filter the data and those filters can add, that is to say in production there are 20 technicians each one enters their production I want to filter the date and the turn of the production of each one and that a total of each one comes out.