PowerApps Time Tracker

Поделиться
HTML-код
  • Опубликовано: 11 июл 2024
  • Solution Series - Time Tracker
    Table of Contents:
    00:00 - Start
    00:18 - Introduction
    01:51 - Prerequisites
    02:17 - The Final App Preview
    04:21 - The SharePoint List
    05:45 - Building The App
    1:08:18 - Ending
  • ХоббиХобби

Комментарии • 95

  • @teresaagustin5191
    @teresaagustin5191 3 года назад +3

    This was a great video Randy. Your approach is truly unique. I learned a lot of concepts I haven't seen anywhere else. Please keep the tutorials coming!

  • @rachelpatterson4384
    @rachelpatterson4384 11 месяцев назад +1

    It took me a couple of hours, but as a complete PowerApps beginner, I could follow along because your explanations were so clear. Thank you!

  • @sdhurm
    @sdhurm 2 года назад

    Randy, I just discovered your site and this app is amazing. Thank you.

  • @kwilliams1130
    @kwilliams1130 Год назад

    Great Video! Thank you for explaining it so thoroughly and taking the time to create it.

  • @user-zc5hs3hr2m
    @user-zc5hs3hr2m 5 месяцев назад

    TY Randy! Great videos and very informative and entertaining. Nice work Sir!

  • @magetvdg2368
    @magetvdg2368 2 года назад

    I actually created a useful attendance app using your video as my guide. Thank you so much for this helpful video. 👍👍👍👍👍👍

  • @shimiaozhao
    @shimiaozhao 3 года назад

    This is an amazing video. I really like it, and I learned a lot from it. Thank you.

  • @dominiccox
    @dominiccox 3 года назад +1

    This is brilliant - exactly what I needed. Thanks very much!

  • @PhiloLabo
    @PhiloLabo Год назад

    You are the best🤩, i have used this approch to track delivery timestamps, you are the best Randy.

  • @imran002ali
    @imran002ali 6 месяцев назад

    Hi Randy, this is my first time watching your video, it's awesome!! Also, you have solved one of my issue, I have created a booking app which prevent double booking (it works fine) but I want to recreate the app but avoid using "Edit Form", or use individual component, my issue was, I couldn't find the "Update Data Card", you have solved that issue, thank you! 👍👍

  • @akbarmahfuzalam
    @akbarmahfuzalam 3 года назад +2

    Thanks Randy for this beautiful tutorial. Please keep posting this sorts of tutorial

  • @seadude
    @seadude 3 года назад +1

    Clever! That data card update trick is pretty interesting.

    • @randyhayes891
      @randyhayes891  3 года назад

      I've got an upcoming video just on that topic!

  • @danyv507
    @danyv507 3 года назад

    Excelente video 👏🏿👏🏿👏🏿👏🏿 me funciono al 100 genial

  • @user-yx7it2ym4j
    @user-yx7it2ym4j 2 года назад

    many thanks for your knowledge

  • @jessiecreech344
    @jessiecreech344 3 года назад

    Great video! I was very happy to see this and follow along. Thank you!!

  • @bqsbqs1126
    @bqsbqs1126 Год назад

    Great Video and explained very well.
    I was wondering would it be possible to add location restrictions, as to only allow to punch in and out if they are actually in a certain area range (office) ?

  • @BassemShowreel
    @BassemShowreel 2 года назад

    That’s amazing! Thanks a lot for the video , I’ve learned a lot.
    During the pandemic, many are working remotely and sometime at the office .
    What if we needed to add a location too?
    Does power apps capable of recording gps location, or maybe adding a location menu, as office, home, etc.
    Thanks a lot Randy🙏

  • @thomaswhisenant6714
    @thomaswhisenant6714 3 года назад +1

    Thanks for this great work! I've modified your setup for this to create an order check in/ check out. I have inserted a timer that starts on the check in/ check out buttons, however, I am struggling to come up with a way to make the timer reset the button to allow a new record to be created OnTimerEnd. Any thoughts on this?

  • @robertposton2505
    @robertposton2505 Год назад

    Hey Randy. This is fantastic. Thank you. I'm trying adapt this to track temp employee's times utilizing a dropdown with the temps names to log the check in/out times. rather that the glbuser id. Any suggestions on where to begin with that.? I've created a separate list with temp names to populate the dropdown, however unsure how to adapt the response from that to act as your glbuser did on the Time Tracker list. Any advice would be greatly appreciated! ~Robert

  • @H.Olluri
    @H.Olluri 5 месяцев назад

    Excellent Videos, it will be nice to see how to intergrate location list as home office, office, ..

  • @pricillajackline7258
    @pricillajackline7258 3 года назад +1

    Thanks for the great video randy, in my scenario i have an app which makes the users to manually enter the hours ex:project hours,meeting hours,training hours,rework etc for a particular day, applying the concept in this video i dont have a unique activity type column in my list, the only thing that remains constant in my sharepoint list item would be the date, rest of all the other columns depend on the users entry, can you please guide me with this

  • @owzy55
    @owzy55 Год назад

    Great video Randy! This helps me a lot. Do you happen to know if it is possible to reset the buttons immediately after the employee presses the Check Out button? and, if so, could you assist me with this one? Thank you for responding. Because some employees work night shifts.

  • @user-mk1tb4eh8m
    @user-mk1tb4eh8m Год назад

    Thank you so much for posting this, when I created the app though my clock in times for my buttons all defaulted to 12:00 am and I cant seem to get them to update correctly to the actual time. Also when I added the time change option it all works but it doesn't update the time on the main screen. From what I can tell all of my codes matches yours.

  • @roberthay3191
    @roberthay3191 2 года назад

    Randy, Thank you for the content. I am new to PowerApps and hope you can point me in the right direction. When creating the first data card. I keep getting an error in the formula for the Text(Today(), "yyyymmdd"). It states that there is an error in the formula. Try and revise it. Also, when I create the labels in the gallery, no text appears in the label boxes. Am I missing something that would correct these issues? I really appreciate any assistance you can provide.

  • @vishaljhaveri7565
    @vishaljhaveri7565 Год назад

    Keka Lite Version! Great concept Sir.

  • @alexissalinas9694
    @alexissalinas9694 2 года назад +1

    Hi Randy,
    In our healthcare organization we have users that have overnight shifts. Is there any way we can edit that to reset itself based on a 16 hour hour time reset or something like that instead of by date?

  • @gerfer6261
    @gerfer6261 3 года назад

    Hi Randy
    I have come across your posts when digging for answers in google, but only today it happened to go through RUclips channel.
    Pretty handy tricks to learn and appreciated.
    Let me reach out to you for your expertise on the matter please if you could spare a minute!
    I have 30 columns in a SP list and filter in a gallery
    Some columns do not have values after filter is applied.
    How can I get the columns with value to the gallery please
    Thanks 😊

  • @PowerPlatformDiv
    @PowerPlatformDiv 2 года назад +1

    Hey Randy it’s awesome 👏 I want to ask you one thing.
    It’s possible when we check-in or check out I want to get user's GPS location every time once user check in-out
    Please guide me on how I can do that.

  • @ahmadfallah9528
    @ahmadfallah9528 4 месяца назад

    Thank you. That was very helpful. I learned very much. I would appreciate it if you could help me with reporting each person every day in/lunch/out times in one row or export it to an Excel file!

  • @jassimfadaaq8096
    @jassimfadaaq8096 3 года назад +1

    Thanks for the amazing work
    I have one question
    When I enter the value it’s not appearing on the button ?
    Can you help please

  • @Kaybelo_
    @Kaybelo_ 9 месяцев назад

    Hi Randy, if i decide to do a lookup separate for each button which property should I use to achieve the exact same output??

  • @davidpowell2332
    @davidpowell2332 Год назад

    Randy, Great App....I 'm trying to switch to a sql server table ? But now the times will not switch on the button when logging in etc? Should that make any difference. ?

  • @ianalderson9267
    @ianalderson9267 3 года назад +1

    Excellent Randy just what I was after, I've added other fields from users 365 to record department etc in the sharepoint list after learning from your video. What method would be best to record perhaps in the finished time row the total hours for that day minus and lunch taken? Any chance of a small/short/video example on this?

    • @randyhayes891
      @randyhayes891  3 года назад

      Glad you liked it! I will put something like that on my schedule. In general though, you could just do a calculation on the final close and write that into the list.

  • @JC-bc3tr
    @JC-bc3tr 3 года назад

    But how do I code “ActivityDateTime” so it is Date and Time, after making that column in sharepont as date and time??
    I would like to do reporting via PowerBI and don’t know how to change the text format in PowerBI.
    Thank you!

  • @johnpereira3433
    @johnpereira3433 10 месяцев назад

    Hello randy I want to track the break timming at work but I don't have the activity type I want to capture 5 different types of break all in one column for on individual which had individual log in and log out time with their headers on the table please can you help me with this

  • @mblherry
    @mblherry 3 года назад +2

    Awesome!! Wish I saw this a week ago as we just complete building a time tracker app.
    In our app though we saved the times in one record as we need to calculate hours worked.
    How would you deal with preventing users from changing the time on their device to trick the now() function?

    • @randyhayes891
      @randyhayes891  3 года назад

      Marion- Not sure you can stop them from changing local time, but when information is written back to SharePoint, it will have a Created and Modified date for each new and modified record - that will be based on the system time, not the local time on the device. That might be usable in some way to catch dishonest folks.

    • @mblherry
      @mblherry 3 года назад +1

      @@randyhayes891 Yes. That we ended up doing. On App start we created a record in a SP list called TimeStamp and captured the created date and time then used that with a timer control to build an App clock from which to get the sign in/out times.

    • @randyhayes891
      @randyhayes891  3 года назад

      Awesome little trick! I like it!

  • @excel-k-sir
    @excel-k-sir Год назад

    This was a nice tutorial but i have a question how to calculate the total login hrs and break hours as a supervisor using this approach.

  • @genovjillella3602
    @genovjillella3602 3 года назад +1

    Great video. Do you have a Timesheet entry app example where users enter time against a client/Project and a timer option?

    • @nated2769
      @nated2769 2 года назад

      I'm looking for this as well. Did you find anything?

  • @gabrielzaharia7103
    @gabrielzaharia7103 3 года назад +1

    Nice video Randy! I tried to reproduce your solution and on button1 my "ThisItem.value" is recording in SharePoint the right date and time, but on "Text" keep displaying 12:00. Any ideas?

    • @randyhayes891
      @randyhayes891  3 года назад

      Make sure you have the correct formula as shown in the video for the Text property of the button. And, more importantly, make sure the Update property on the dynamic variable (the DataCard) is as shown in the video. If all other aspects are the same, should work well.

    • @SuperDarekR
      @SuperDarekR 3 года назад

      26:10

  • @towfiquekabir3952
    @towfiquekabir3952 10 месяцев назад

    Hi, can anyone assist me here, I am trying to get the "ShortTime" function to work here but it won't update on the buttons when its clicked. In the video it is from 28:30
    Any help would be appreciated.

  • @monmanusstangwatchanayobai5323
    @monmanusstangwatchanayobai5323 3 года назад +1

    this video is great. howeverI may not probably able to catch you up as the code -- With({........ has got an error on ( -- it said that unexpected characters. the formula contains 'ParenClose' where 'CurlyOpen' is expected. and Characters are used in the formula in an unexpected way. I have no idea why it's diff from your video. Could you please advice?

    • @randyhayes891
      @randyhayes891  3 года назад

      Check to make sure you have matching opening and closing parens and curly brackets. From that error, sounds like one is missing.

  • @noorkalboneh178
    @noorkalboneh178 9 месяцев назад

    Network error when using Patch function: Field 'cr273_name is required.
    why error and how solve

  • @taffycows
    @taffycows 2 года назад

    how can i add location choice column for each checkin checkout ?

  • @bonishimori301
    @bonishimori301 3 года назад +2

    Hi! How do you just clear the time values on the app? I don't want to delete the records in my SharePoint List.

    • @randyhayes891
      @randyhayes891  3 года назад

      I'm not entirely sure what you mean by clearing the times. Do you mean the ones that show up on the buttons? If so, it's not something that the app was built around. It was built with the concept of the individual user on the individual day. So clearing the times would be confusing in the context of this app. However, on the next day, all times are clear and ready to start over.

    • @bonishimori301
      @bonishimori301 3 года назад

      @@randyhayes891 yeah, the one that shows up on the buttons. I see, that will do. Thank you so much! Your video is really helpful.

  • @PhiloLabo
    @PhiloLabo Год назад

    can you please help ? i get RUNTIME error when i click on the first buttom .thanks

  • @vkeykanesan9309
    @vkeykanesan9309 3 года назад

    Expected number value error when i make the With ({lclRecs .. Kindly advice,

  • @mohammedanees2131
    @mohammedanees2131 3 года назад +2

    Can its possible to make changes check in and check should update in single row in share point list and also can we add location tracker of check in and check out

    • @randyhayes891
      @randyhayes891  3 года назад

      Sure thing. You would just need to add the additional columns to your list and then capture the information and store it from the app. As for flattening the data to one row, that would be possible, but would take a bit more work to pull off. If you would be adding in the location information, that may make it a little longer. But, all possible!

  • @raulacosta484
    @raulacosta484 2 года назад

    Great Video Randy, I am trying to replicate this app and I am following step by step, however, when I want to check in (around minute 24:13) I can't see the data on my sharepoint list, when I click on the error, the issue says: Title: Field "Title" is required, and in Location: Button1
    OnSelect, any thoughts on how I can fix this, Thanks

    • @tumtum6910
      @tumtum6910 2 года назад

      Hello. Were you able to resolve this error?

    • @Titikaa
      @Titikaa 2 года назад

      You need to click on App/three dots(...)/ Run OnStart
      then you try to do the process again

  • @danyv507
    @danyv507 3 года назад

    When the minute in which it was registered passes, it allows me to dial again, as I solve it for the whole day

  • @rikalva
    @rikalva Год назад

    Hello, I have a question, how do I make the filter see if the input record was made but the output record was not made on the same date i.e. one day later. Example: the check in was made at 8:15 AM (2022-08-25) but the check out is at 2:00 AM (2022-08-26).
    How to make the filter check if he checked out even if the day is different. I mention that because I have employee that check in at 10:00 PM (2022-08-25) and their check out time is 6:00 AM the next day (2022-08-26).

    • @princessminstrel111
      @princessminstrel111 2 месяца назад

      looking for the same thing, did you find an answer to this @rikalva?

    • @rikalva
      @rikalva Месяц назад

      @@princessminstrel111 No.

  • @TheZoZoO
    @TheZoZoO 3 года назад +2

    Hey,
    Need another video where user can select some drop down in another field and lunch in and lunch out related activities should be recorded as single record in SharePoint list

    • @randyhayes891
      @randyhayes891  3 года назад

      I'm a little backlogged on videos and time, but I will put the concept on my list.

    • @jessiecreech344
      @jessiecreech344 3 года назад

      I would also love to see this!

  • @lanoscinimod8736
    @lanoscinimod8736 3 года назад

    I get a output like this 2/26/2021 6.41 PM but in your video you get just the time for the text in the button. what am i doing wrong here? much appreciate if you can help me on this
    ***On Select Property***
    If(ThisItem.display = Self.Text && ThisItem.enabled,
    Patch('Attendance Tracker', Defaults('Attendance Tracker'),
    {Title: glbUser,
    ActivityType: ThisItem.display,
    ActivityDateTime: Text(Now(), "[$-en-US]yyyymmddhhmm"), ActivityDate:Now()
    }
    )
    )
    ***Text Property****
    Coalesce(Text(ThisItem.value, ShortTime), ThisItem.display)

    • @lanoscinimod8736
      @lanoscinimod8736 3 года назад +1

      Found the solution. Thanks
      Coalesce(Text(DateTimeValue(ThisItem.value),ShortTime), ThisItem.display)

    • @randyhayes891
      @randyhayes891  3 года назад

      Glad you uncovered it!

  • @frankunterreiner190
    @frankunterreiner190 3 года назад

    My "Lunch In" button keeps being enabled even when pressed. I am not sure where the error is.
    {display:"Lunch In", value:data.LunchIn, enabled:!IsBlank(data.CheckIn) && !IsBlank(data.LunchOut) && IsBlank(data.CheckOut)}

  • @nguyenthach8103
    @nguyenthach8103 Год назад

    Can you add more: Employeer Name and email?

  • @TheZoZoO
    @TheZoZoO 3 года назад +1

    I am looking for time tracker where user can put some comments and select value in drop down field and basis that value- start and end time need to be recorded along with lunch in lunch out

    • @randyhayes891
      @randyhayes891  3 года назад +1

      You could certainly adapt this solution to that need. It would require some logic changes, but not impossible to do.

    • @TheZoZoO
      @TheZoZoO 3 года назад

      @@randyhayes891 please share your email Id...I can share my requirement in detail....

    • @TheZoZoO
      @TheZoZoO 3 года назад

      @@randyhayes891 my app only need SharePoint list having some drop down in activity type and then....start time and end time with pause and resume button

  • @kathleenebrioso3199
    @kathleenebrioso3199 2 года назад

    The video was great but after following all the steps, still got some error with the formula, specially in setting the "Button". Your response is highly appreciated.

    • @igpie
      @igpie Год назад

      Same thing here. Can't get any way to fix and pass that.

  • @gabrielzaharia7103
    @gabrielzaharia7103 3 года назад

    The tricky bit will be to use this model as fire roster and alert if someone is in the building.

    • @randyhayes891
      @randyhayes891  3 года назад

      I believe a good filter on the list should give you what you need.

  • @StefanvonHusen
    @StefanvonHusen Год назад

    That's a tutorial. It doesn't get any better than this and the potential has been fully exploited. Can I have some more, please!

  • @mohammedanees2131
    @mohammedanees2131 3 года назад

    glbuser= power apps encountered an internal error trying to evaluate this expression
    Please help me on above error

    • @randyhayes891
      @randyhayes891  3 года назад

      The glbUser variable is only set in one place - the OnStart and it should be set to Lower(User().Email)
      Make sure you have it in your OnStart and that you have run the OnStart

    • @mohammedanees2131
      @mohammedanees2131 3 года назад

      @@randyhayes891 Thanks Got it

    • @TheZoZoO
      @TheZoZoO 3 года назад

      Is there other alternative..I am still getting the error for glbUser..I defined this variable at the start

    • @randyhayes891
      @randyhayes891  3 года назад

      @@TheZoZoO Check your OnStart formula. It should have the following: Set(glbUser, Lower(User().Email))
      Is that giving you some error?

  • @raghukammala2671
    @raghukammala2671 3 года назад +2

    I am getting an error in Thisitem.value.Any suggestion would be highly appreciated