web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How To Create Notes On...
Power Apps
Answered

How To Create Notes On Book A Room Template

(2) ShareShare
ReportReport
Posted on by 19
Hii
 
I using powerapps book a room a lot and working well but i need to create notes button / box before booked so ex i want to book Cedrawasih room but i need also audio devices . nah i want to create notes box for someone that booking the room can write what he need like microphone / speaker or anything . for now if i clicked book directly booked the room without asking notes . how can i do it , i need sugestion thanks youu
 
Categories:
I have the same question (0)
  • Suggested answer
    yonie Profile Picture
    35 on at
    Hi Dastanzzz,

    I would create a pop up when clicking on the 'BOOK' button that opens a container and asks for extra information.
    You can store the clicked_item and a show_pop_up in a context variable.
    You can view a tutorial on how to create a pop-up like window in this youtube video: 
    How to Build a Popup Dialog Box in Power Apps using Responsive Containers
     
    When then pop up shows you can have your notes field, a return and book button.
    On return you can change the context variable back to their default (show_pop_up = false and clicked_item = Blank()).
    On book you can use the logic that you want.
     
    I use this very often in my applications.

    Example for your application:
    In the bookin gallery change the function of the 'Book' button to the following code:
    UpdateContext({ShowPopUp: true, Selected_Item: ThisItem});
    Then create a pop-up structur like this:


    BookingPopUp is the same as the screen size:
    Width = Parent.Width
    Height = Parent.Height
    X = 0
    Y = 0
    Color = RGBA(120, 120, 120, 0.5)
    PopUpContent:
    ​Width = 500
    Height = 300
    X = (Parent.Width-Self.Width)/2
    Y = (Parent.Height-Self.Height)/2
    Color = RGBA(255, 255, 255, 1)
    ReturnButton:
    UpdateContext({ShowPopUp: false, Selected_Item: Blank()});

    BookButton:
    Set(IsBooking, true);
    Navigate(ConfirmationScreen, ScreenTransition.Cover, {BookingNotes: NotesInput.Text});
    Select(ReturnButton);

    Then go to your ConfirmationScreen and adjust the 'OnVisible' function with the logic you want.
    In this screen you can use the context variable 'BookingNotes' that contains the notes of the pop up.
    In this example when you make a calendar item I added the 'BookingNotes' to the body of the calendar item.
    If(IsBooking,
        UpdateContext({ShowLoading: true});
            If(!BookForMeeting,
                Office365.V2CalendarPostItem(MyCalendar, User().FullName & "'s Booking", StartDateTimeUTC, EndDateTimeUTC, 
                {RequiredAttendees:RoomsGallery.Selected.Email, Location: RoomsGallery.Selected.Name, Importance: "Normal", ShowAs: "Busy", Body: BookingNotes}),            
                ClearCollect(RequiredAttendeesNoRoom, ForAll(Split(MeetingsGallery.Selected.RequiredAttendees, ";"), {Result: ThisRecord.Value}));
                ForAll(AllRooms, RemoveIf(RequiredAttendeesNoRoom, Address = Result));
                ClearCollect(RequiredAttendeesNoRoom, Concat(RequiredAttendeesNoRoom, Result & ";"));
                ClearCollect(RequiredAttendeesNoRoom, ForAll(Split(First(RequiredAttendeesNoRoom).Value, ";;"), {Result: ThisRecord.Value}));
                Set(RequiredAttendeesFinal, First(RequiredAttendeesNoRoom).Result);
                Set(RequiredAttendeesTrue, RoomsGallery.Selected.Email & ";" & RequiredAttendeesFinal);
                Office365.V2CalendarPatchItem(MyCalendar, MeetingsGallery.Selected.Id, If(MeetingsGallery.Selected.Subject = User().FullName & "'s Skype Meeting", User().FullName & "'s Booking", MeetingsGallery.Selected.Subject), StartDateTimeUTC, EndDateTimeUTC, {RequiredAttendees: RequiredAttendeesTrue, OptionalAttendees: MeetingsGallery.Selected.OptionalAttendees, Body: "Room has been updated to " & RoomsGallery.Selected.Name, Location: RoomsGallery.Selected.Name, Importance: "Normal", ShowAs: "Busy"})
                );
    
        UpdateContext({ShowLoading: false})
    );
    Set(IsBooking, false)
    

    Result:



  • Suggested answer
    Dastanzzz Profile Picture
    19 on at
    Hi Yonie 
     
    Thanks For Your Answer , This solved the problem , Thankss for your support
  • Dastanzzz Profile Picture
    19 on at
    Hi Yonie 
     
    Thanks For Your Answer , This solved the problem , Thankss for your support pop up is working well , but the notes only visible on the booking user , is this possible the notes is can view on room email calender ? 
     
    Thanks Yonie 
    Cant Wait Your Answer
     
  • Verified answer
    yonie Profile Picture
    35 on at
    Hi Dastanzzz,
     
    This looks more like a meeting room configuration problem.
    The meeting room calendar probably doesn't allow to show details or you have insufficient permissions to view the details on the meeting room.
     
    Unfortunately I don't have much knowledge of these kind of set up so I won't be able to help you much further on that topic.
    You can try to create the meeting manually trough Outlook and check if you can see the meeting body on the room calendar.
    If you can't see the details when creating a manuel meeting then it's a problem with the configuration or viewing permissions.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 294 Most Valuable Professional

#2
11manish Profile Picture

11manish 210

#3
Valantis Profile Picture

Valantis 169

Last 30 days Overall leaderboard