cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

Book a Room PowerApp template

Hi Everyone,

 

I wonder if someone could help me. I am playing with the Book a room template and i am very impressed with the quality of the app, really have to up my game here.

 

However I noticed a bug and was hoping someone has come across this before and will be able to help.

 

When a user starts the app and selects the "Book for an existing" meeting option, they get brought to a screen showing their existing meetings, when they select a meeting here

 

pic1.JPG

 

 

 

 

 

They then select the meeting they wish to book and they are brought to the following screen

 

pic2.JPG

 

 

 

 

 

This seems to be a screen saying that there are no rooms available (there are rooms available), however if the user clicks on the "Book now without a meeting" in the top right of the screen they are brought to the screen below

 

pic3.JPG

 

 

 

 

Which is fine, this a room that is available, now when the user click on the "Book for an Existing Meeting" button again they get brought back to the meeting select screen, however this time when they select a meeting they get the correct room available.

 

It would be great to be able to get the correct room selection on the first meeting selection.

 

Anyone have thoughts.

 

Ronan

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Book a Room PowerApp template

Hi @rockonron ,

Do you mean that when you can not load available rooms select screen at the first time if you choose "select for an existing meeting"?

If so,I've found where the problem is.

Since only when variable DateTimeRoomChange is true, the available room collections will be created.So I think the problem is the variable's value.

I found this here:

RoomSelectScreen's OnVisible:

 

Set(CalendarFromSelectMeeting, false);
If(DateTimeRoomChange,
 ...............)
//only if DateTimeRoomChange is true, the followed actions will be acted.

 

 

Please modify MeetingSelectScreen's OnVisible to this:

If(DateTimeRoomChange,
    UpdateContext({ShowLoading: true});
    Set(DateTimeRoomChange, true);  //change false to true
    ClearCollect(FutureCalendarEvents,
        Filter(
            Office365.GetEventsCalendarViewV2(MyCalendar, Text(DateAdd(DateSelected, -1, Hours), UTC),   Text(DateAdd(DateSelected, 1, Days), UTC)).value, 
            Organizer=MyName.Mail
        )
    );
    UpdateContext({ShowLoading: false}));
Set(CalendarFromSelectMeeting, false)

2195.PNG

 Then the available rooms will display correctly when you choose "book for an existing meeting" at the first time.

 

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Book a Room PowerApp template

Hi @rockonron ,

Do you mean that when you can not load available rooms select screen at the first time if you choose "select for an existing meeting"?

If so,I've found where the problem is.

Since only when variable DateTimeRoomChange is true, the available room collections will be created.So I think the problem is the variable's value.

I found this here:

RoomSelectScreen's OnVisible:

 

Set(CalendarFromSelectMeeting, false);
If(DateTimeRoomChange,
 ...............)
//only if DateTimeRoomChange is true, the followed actions will be acted.

 

 

Please modify MeetingSelectScreen's OnVisible to this:

If(DateTimeRoomChange,
    UpdateContext({ShowLoading: true});
    Set(DateTimeRoomChange, true);  //change false to true
    ClearCollect(FutureCalendarEvents,
        Filter(
            Office365.GetEventsCalendarViewV2(MyCalendar, Text(DateAdd(DateSelected, -1, Hours), UTC),   Text(DateAdd(DateSelected, 1, Days), UTC)).value, 
            Organizer=MyName.Mail
        )
    );
    UpdateContext({ShowLoading: false}));
Set(CalendarFromSelectMeeting, false)

2195.PNG

 Then the available rooms will display correctly when you choose "book for an existing meeting" at the first time.

 

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (5,985)