Hello all,
I need assistance with my power app. I want to enable users to book 10-minute time slots for two days: August 24th and 25th. Each booking should be reflected in the individual's calendar.
While I have managed to implement the above functionality, I am facing difficulties in displaying the specific times. I would like the time slots on August 24th to be from 1 pm to 4 pm, with a 10-minute break at the end of each hour. Here's an example:
Thursday, August 24th:
Similarly, on the 25th, I would like the time slots to be from 10 am to 1 pm, with the same 10-minute break at the end of each hour
Is this possible on the gallery to show the said times?
The code snippet I am implementing within the "onselect" of the button:
Set(VarTeacher, Dropdown1.Selected);
If(
DatePicker1.SelectedDate = DateValue("2023-08-24") || DatePicker1.SelectedDate = DateValue("2023-08-25"),
ClearCollect(
ColTest,
Office365Outlook.FindMeetingTimesV2({
RequiredAttendees: User().Email & ";" & VarTeacher.Email,
MeetingDuration: Dropdown2.Selected.Value,
Start: DateAdd(DatePicker1.SelectedDate, 8, TimeUnit.Hours),
End: DateAdd(DatePicker1.SelectedDate, 20 * 60 + 30, TimeUnit.Minutes),
ActivityDomain: "Work"
}).meetingTimeSuggestions
),
Notify("Please choose August 24th or 25th.", NotificationType.Warning)
);
Please help!