Skip to main content

Notifications

Community site session details

Community site session details

Session Id : tq8yMMlc2a2P19K88J1qqj
Power Apps - Building Power Apps
Answered

Attendance App Check In and Check Out

Like (0) ShareShare
ReportReport
Posted on 23 Jun 2020 13:18:26 by 1,057

Hello Everyone,

 

I am developing an Attendance application by using SP Lists, it's 60% done and working, but I having some issues: 
Attednace.png

1) if someone checks IN and then he closes the app the check in button should be disabled and he/she should check out first before checking In again for a new entry.
2) ( this is working but have some issues) when a user clicks on Check in button,
ButtonCode:

 

Set( 
 CurrentCheckedInRecord,
 Patch(
 Attendance, 
 Defaults(Attendance),
 {
 Title:"Check In&Out Test",
 User: MyUser,
 'User Email':User().Email,
 'Check In':Now()
 }
 )
 );
Navigate(CheckInSuccess,ScreenTransition.Cover)

 


they are navigated to on Check In Success Screen with this Message:
check in time.png
I dropped a Detail form with The Check in time, and the Items Property is CurrentCheckedInRecord. This is working fine for Checked in,
but when I click on Check Out

Button Code:

 

Refresh(Attendance);
If(
 !IsBlank(CurrentCheckedInRecord),
 Patch(
 Attendance,
 CurrentCheckedInRecord,
 {'Check Out': Now()}
 )
);
Navigate(
 CheckOutSuccess,ScreenTransition.Cover)

 

 they are navigated to on Check Out Success Screen with this Message:

Check Out.png
I dropped a Detail form with The Check in time and Check Out Time, and the Items Property is CurrentCheckedInRecord. 
The issue is the Check In Time Display's Correctly but the Check Out Time Doesnt show up, although it is updated in the SP List.

Any Help in these above 2 issues?
@WarrenBelz  @mdevaney 
@

  • oyepanky Profile Picture
    181 on 06 May 2024 at 03:35:59
    Re: Attendance App Check In and Check Out

    8d8aa3d7-d002-43ed-829f-3a3d88c80db0.jpeg

    Hi Bro,

     

    if you need any help with attendance related help, I already developed this application you can check out my videos on youtube.

     

    link is here - Time IN And Out Button Create with Formula In PowerApps || Part-14
    https://youtu.be/sFbAlSRD_qc

     

    in this application these options

     

    Check In - Check Out

    Break options 
    Selfie option 

    location option

    20+ option for employees & Manager login 

     

    please check out all parts 

    i hope this video help you. 

     

  • oyepanky Profile Picture
    181 on 06 May 2024 at 03:32:41
    Re: Attendance App Check In and Check Out

    Hi Bro,

     

    if you need any help with attendance related help, I already developed this application you can check out my videos on youtube.

     

    link is here - Time IN And Out Button Create with Formula In PowerApps || Part-14
    https://youtu.be/sFbAlSRD_qc

     

    in this application these options

     

    Check In - Check Out

    Break options 
    Selfie option 

    location option

    20+ option for employees & Manager login 

     

    please check out all parts 

    i hope this video help you. 

     

  • JayMagness Profile Picture
    1,663 on 23 Jun 2020 at 21:15:49
    Re: Attendance App Check In and Check Out

    Hi All,

     

    Yes the issue was many things once I was on the call

     

    1) Syntax was off a little on the buttons

    2) Also there was an issue with not calling Gallery from a Form to get the date

     

    Jay

  • WarrenBelz Profile Picture
    146,700 Most Valuable Professional on 23 Jun 2020 at 21:09:17
    Re: Attendance App Check In and Check Out

    @MH3 ,

    Can you please post the solution to this problem on the forum as solving off-line completely defeats the purpose of this facility as a knowledge base for solutions.

    @JayMagness can you please make a note of this and contribute to solutions that all can benefit from.

  • MH3 Profile Picture
    1,057 on 23 Jun 2020 at 14:25:34
    Re: Attendance App Check In and Check Out

    Hi @JayMagness ,

     

    I am on Kaizala, can you add me there and help me fix my problem?

  • Verified answer
    JayMagness Profile Picture
    1,663 on 23 Jun 2020 at 14:20:49
    Re: Attendance App Check In and Check Out

    Hi,

     

    The check out time is in SharePoint but not displayed in the field?

     

    It is something with the retrieval or display code.

     

    Also I am not sure if you know about an offering called Kaizala it is a system like WhatsApp from MICROSOFT research in India. It is kind of hidden but is a part of M365. they just released last night a system kind of like what you are doing I think. You may want to look at it and see if it solves your needs.

     

    https://kaizala007.blog/2020/05/25/attendance-scenarios-in-kaizala/

     

    I will send you a private note and see if we can get on teams and I can help you

     

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,700 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard