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
They then select the meeting they wish to book and they are brought to the following screen
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
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
Solved! Go to Solution.
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)
Then the available rooms will display correctly when you choose "book for an existing meeting" at the first time.
Best regards,
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)
Then the available rooms will display correctly when you choose "book for an existing meeting" at the first time.
Best regards,
Power Apps User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.
Did you miss the call?? Check out the Power Apps Community Call here!
User | Count |
---|---|
255 | |
205 | |
76 | |
37 | |
31 |
User | Count |
---|---|
331 | |
214 | |
121 | |
71 | |
55 |