Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Create Calendar Entries Upon Form OnSuccess

(0) ShareShare
ReportReport
Posted on by

Hi Experts,

 

I've created an app that allows users to log jobs and they can select an installation date and also the person who will be doing the install. The below is the code that i've entered in my OnSuccess of the form

Office365Outlook.SendEmailV2("firstname.lastname@domainname.com" , Form1.LastSubmit.JobNumber , "Hi,<br><br>

Please see completed form below, this is OnSuccess of Form1 on Screen3<br><br>

Regards<br><br>

Company Name<br></br>");
Navigate(Success,ScreenTransition.Cover)

 

What i'm looking to be able to add into the above, is to put a calendar entry based on the information that has been put into the below fields, into firstly, the departments overall O365 Outlook calendar for the back office based staff to be able to see who is where and when and then secondly add it to the calendar of the installer that has been selected in the choices dropdown box so that they are aware of where they need to be and when. 

 

I've done the screen for users to log the entries by using individual fields so that it looks nicer than a form and then there's a form on another screen that populates all of the information that has been inputted.

Multiline Text Input to show the details of the job named inpJobDetails which should go into the body of the calendar entry (Form1 Notes_DataCard3)
Multiline Text Input to show the Location of the job named inpLocation which should go in the Title of the calendar entry (Form1 Location_DataCard1)

Date Picker for Install Date named InstallStartDate (Form1 InstallTime_DataCard1)
Dropdown for Install Time named drp_Event_StartTime_1 (part of Form1 InstallTime_DataCard1)
Date Picker for Install End Date named InstallEndDate (Form1 InstallEndTime_DataCard1)
Dropdown for Install End Time named drp_Event_EndTime_1 (part of Form1 InstallEndTime_DataCard1)

Dropdown for the list of Installers which is a choices column in my SharePoint list named drpInstallers (Form1 Installers_DataCard1)

 

Please help! Thanks in advance! 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,670 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard