web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Creating multiple cale...
Power Apps
Answered

Creating multiple calendar events based on a gallery

(0) ShareShare
ReportReport
Posted on by 9

Hi all

 

I have created an app which shows many tasks the user has to complete. The user can select a date to complete the tasks. I have added a feature that if selected it will create an outlook event (reminder) in the users' calendar. I managed to create the outlook event on the ONCHECK property of the checkbox. Is there a way to have a formula within a button (SAVE) that if clicked will get all tasks which have the checkbox checked and create the outlook events accordingly? I will share below the screen.

 

Thank you so much for your support.

 

Kind regards

 

Rodrigo

rfmessias_0-1706401911947.png

 

Oncheck: 

If(
Checkbox4.Value = true,
Office365Outlook.V4CalendarPostItem(
varUserCalendarId,
"AV Task - Client " & ThisItem.localClientName,
Text(DatePicker2.SelectedDate+Time(10,0,0),DateTimeFormat.UTC),
Text(DatePicker2.SelectedDate+Time(10,15,0),DateTimeFormat.UTC),
"(UTC) Coordinated Universal Time",
{body: HtmlText1.HtmlText}
)
);

 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @rfmessias ,

     

    Could you please confirm if Checkbox4.Value, DatePicker2.SelectedDate, and HtmlText1 are all within the same gallery? If so, you could try:

     

    ForAll(
     GalleryName.AllItems,
     If(
     ThisRecord.Checkbox4.Value=true,
    	 Office365Outlook.V4CalendarPostItem(
    	 varUserCalendarId,
     "AV Task - Client " & ThisRecord.localClientName,
     Text(ThisRecord.DatePicker2.SelectedDate+Time(10,0,0),DateTimeFormat.UTC),
     Text(ThisRecord.DatePicker2.SelectedDate+Time(10,15,0),DateTimeFormat.UTC),
     "(UTC) Coordinated Universal Time",
     {body: ThisRecord.HtmlText1.HtmlText}
     )
     )
    )

     

     

    Best Regards,

    Bof



  • Verified answer
    rfmessias Profile Picture
    9 on at
    Thank you so much Bof 🙂

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 762

#2
11manish Profile Picture

11manish 640

#3
Valantis Profile Picture

Valantis 548

Last 30 days Overall leaderboard