cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Prodigy
Post Prodigy

Attendance App Check In and Check Out

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 
@

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Resolver V
Resolver V

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

 

 

View solution in original post

4 REPLIES 4
Highlighted
Resolver V
Resolver V

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

 

 

View solution in original post

Highlighted
Post Prodigy
Post Prodigy

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?

Highlighted
Super User
Super User

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.

Highlighted
Resolver V
Resolver V

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

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (12,425)