Hi, I'm making a "Book a Room" type of app. I changed most of the template but i kept part of the structure.
The idea is to be able to book a meeting room via this app and not Outlook. The way it works is that you send a request to the room (which has an e-mail adress) and the person in charge accepts or denies your request. If accepted, it gets in your calendar and the room's calendar at the time and date submitted.
All of this works, but I wanted to add a button to display the calendar of the different rooms and it seems that with the usual GetCalendarTables, I only get the items in My Calendars wich are Calendar, Birthdays ...
I do not think it's possible but I might as well ask. Is there a way to display these calendars from power apps (ideally, an On Select trigger would open the selected calendar in Outlook but it could also be an event display on a dropdown or such).
Thanks in advance.
On the onvisible property to to one of the booking screens there is a collect that be what you are looking for.
ClearCollect(AvailableRooms, Office365.FindMeetingTimes({RequiredAttendees: AllRoomsConnector, IsOrganizerOptional: true,
Start: StartDateTimeUTC, End: EndDateTimeUTC, MeetingDuration: DateDiff(StartDateTime, EndDateTime, Minutes),
MinimumAttendeePercentage: "1", ActivityDomain: "Unrestricted"}));
Hi,
Thanks for the response. I tried this formula but it does not seem to work. The collection is empty. Besides, PowerApps does not recognize the AllRooms connector. If I try to display the result of the collection, it just says Organizer Unavalaible.
I was using the code from the meeting room app which I assume uses the defaults from Outlook. It may be your organisation has a different table name for its global rooms or the code might be based elsewher in the app. I got it from the onvisible to the Select vacant Rooms view