
Hi All,
I'm Trying to get event calender using Office365.GetEventsCalendarViewV2 function from multiple date, but always get a null value.
GetRecurDatesCollection
| Result |
| 8/31/2020 |
| 9/1/2020 |
Formula:
ClearCollect(
getExchangeroom,
ForAll(
GetRecurDatesCollection,
Filter(
Office365.GetEventsCalendarViewV2(MyCalendar,
Text(DateAdd(DateTimeValue(Result), -1, Hours), UTC),
Text(DateAdd(DateTimeValue(Result), 1, Days), UTC)
).value,
Organizer=MyName.Mail
)
)
);
but if I try this formula without using the ForAll function, it can return the actual value
ClearCollect(getExchangeroom,
Filter(
Office365.GetEventsCalendarViewV2(MyCalendar,
Text(DateAdd(DateTimeValue("8/31/2020"), -1, Hours), UTC),
Text(DateAdd(DateTimeValue("8/31/2020"), 1, Days), UTC)
).value,
Organizer=MyName.Mail
)
);
Any help is appreciated. Thanks in advance
What if you try one of these:
ForAll(GetRecurDatesCollection,
Collect(getExchangeroom,
Filter(
Office365.GetEventsCalendarViewV2(MyCalendar,
Text(DateAdd(DateTimeValue(Result), -1, Hours), UTC),
Text(DateAdd(DateTimeValue(Result), 1, Days), UTC)
).value,
Organizer=MyName.Mail
)
)
);
ForAll(GetRecurDatesCollection,
Collect(getExchangeroom,
Office365.GetEventsCalendarViewV2(Filter(MyCalendar, Organizer=MyName.Mail),
Text(DateAdd(DateTimeValue(Result), -1, Hours), UTC),
Text(DateAdd(DateTimeValue(Result), 1, Days), UTC)
).value
)
);