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 / Book Car PowerApp - Fi...
Power Apps
Unanswered

Book Car PowerApp - Fill out Form on Ipad to book car

(1) ShareShare
ReportReport
Posted on by 20

Hi everyone,

I've followed and used April Dunnams Desk reservation template and converted it into a Car booking app. 

Currently everything works great, but would like to have an option of having an iPad in Kiosk Mode where you could quickly and easily fill out a form, you choose yourself as the employee which then books the car in a SP List i've made. 

Madsheogh_0-1658403250624.png

This is my current powerapp confirmation button code: 
ForAll(
selectedDesks;
Patch(
'Bil Reservationer';
Defaults('Bil Reservationer');
{
Title: currentUser.FullName & " " & ThisRecord.Title;
BilTekst: ThisRecord.Title;
'Check Out From': DateAdd(startTime; TimeZoneOffset(); Minutes );
'Check Out From Text': startTime;
'Check Out From Number':Value(Text(startTime;"yyyymmddhmm"));
'Check Out To': DateAdd(endTime; TimeZoneOffset(); Minutes );
'Check Out To Text': endTime;
'Check Out To Number': Value(Text(endTime;"yyyymmddhmm"));
'Reserved By': {
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser";
Claims: "i:0#.f|membership|" & currentUser.Email;
Department: "";
DisplayName: currentUser.FullName;
Email: currentUser.Email;
JobTitle: "";
Picture: ""
}
}
)
);;
Concurrent(
Reset(ddTimeTo);
Reset(ddTimeFrom);
Reset(Calendar_1);
Clear(selectedDesks);
Set(
selectedDate;
Blank()
);
Set(
startTime;
Today()
);
Set(
endTime;
Today()
)
);;
Navigate(Success)

Categories:
  • poweractivate Profile Picture
    11,078 Most Valuable Professional on at

    @Madsheogh 

     

    This is a really quick response, so I'm not sure if this is it or if this will be enough detail for you, but I'll try with this quick reply in case it helps you anyway:

     

    It sounds to me like you'd like to know how to have it so that when an employee was not logged in when they opened the Canvas App, you would like the option to specify an arbitrary user of your organization directly in the Power App Canvas App.

     

    If that's the case, then this is possible.

     

    Just have a simple, single Dropdown control in the Power App which lists all users in the organization they could pick from. Make sure this dropdown is associated with the appropriate SharePoint List column. Then the booking can be associated with that person that easily.

    To get an idea how to do this, check here and see if it helps:

    Office 365 Users

    Right now it is a quick reply so I don't have a detailed example for you other than for you to just check the above for now. Please check if this is enough to help you for now, and if it is not, reply about whether this seems like it is on the right track for a more detailed example, or if it's not, and it's something else, maybe you could provide more detail on it in that case.

     

    To see if they're logged in, check this as starting point:

    User function in Power Apps

    (note: what you may want though is still Office 365 Users

    Office365Users.MyProfile()

    as you might want to check if the current Power Apps user is logged in as O365 user, so you need Office365Users.MyProfile() for that instead, the User() function does something different.

     

    To do something different if they're logged in as opposed to if they're not, check this as starting point:

    If function in Power Apps

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard