I am using an existing Powerapp Template "Book a Room" and modify there.
Default - First(Office365Users.SearchUser({searchTerm:User().Email}).Country).Country
this will filter your room list based on your country location.
-upon my reasearch there is no function available in powerapp to display room capacity. this is a workaround solution with SharePoint.
The title room name must be the exact same name as your meeting room mailbox that was created in your exchange.
add this to read the data from RoomList SharePoint
created the following popup object under the "RoomSelectScreen
- Label_date
Text - "Date: " & Text(DateSelected, "[$-en-US]mmmm dd, yyyy")
- Label_time
Text - "Time: " & Text(StartDateTime, DateTimeFormat.ShortTime) & " - " & Text(EndDateTime, DateTimeFormat.ShortTime)
- Label-popupConfirm
Text - "You have selected"
- btn_Confirm
OnSelect - Set(IsBooking, true); Navigate(ConfirmationScreen, ScreenTransition.Cover); UpdateContext ({varDisplayPopup:false})
- btn_Cancel
Onselect - UpdateContext ({varDisplayPopup:false})
Group them together and set visible value to
- create cancel button
Onselect - Office365.CalendarDeleteItemV2(MyCalendar,ThisItem.Id);Remove(FutureCalendarEvents,ThisItem);