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

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}
)
);