I'm in the process of creating a PowerApp for one of my clients.
One of the features should be to be able to check certain calendars for events.
I thought of using the template Calendars screen but my biggest problem is that it displays ALL the calendars the user has access to. I'm looking for a way to not display all calendars but only the one I want the users to be able to see.
I see that the default function of the dropdown box is 'Office365Outlook.CalendarGetTables().value' but is there a way to be able to add in the names of only the calendars you want to show? Or maybe a way to add some exceptions?
My biggest problem now is that it displays the personal calendar.
Solved! Go to Solution.
Hi @MAPA_James ,
You only need to use the filter() function to filter the returned calendar collection.
Filter(Office365Outlook.CalendarGetTables().value,Or(DisplayName<>"a",DisplayName<>"b"))
Best Regards,
Wearsky
Hi @MAPA_James ,
You only need to use the filter() function to filter the returned calendar collection.
Filter(Office365Outlook.CalendarGetTables().value,Or(DisplayName<>"a",DisplayName<>"b"))
Best Regards,
Wearsky
Thanks for the answer!
I actually found the same solution some hours after posting this question and used the exact same method.