pnp / powerapps-samples

Contains curated community Microsoft Power App samples
https://aka.ms/powerplatform-samples
MIT License
416 stars 309 forks source link

No bookings are showing in upcoming #20

Closed Kjellis85 closed 3 years ago

Kjellis85 commented 3 years ago

Sample

DeskReservation

Author(s)

@aprildunnam

What happened?

After making a booking it returns success and it appears in the list, but it does not show in upcoming bookings.

Steps to reproduce

  1. Create Lists based on specs
  2. open DeskBooking.msapp
  3. relink new lists
  4. make booking

Expected behavior

The reservation should appear in coming bookings

aprildunnam commented 3 years ago

Is it not showing on the upcoming bookings on the home page or the "My Bookings" page? The home page will only show the top 2 most recent coming up bookings. But the My Bookings page is supposed to show everything.

Kjellis85 commented 3 years ago

Nothing is showing, have made multiple bookings and nothing shows in my bookings or the front page. Might there be a language setting issue? I have not changed the regional settings in the sharepoint admin.

Kjellis85 commented 3 years ago

Youtube user unicornz found the solution: I had a problem where the email address was firstname.lastname but my logged in state was alias (the UserPrincipalName behind the scenes). I fixed this by using a different join key - name. 'Reserved By'.DisplayName = currentUser.FullName

aprildunnam commented 3 years ago

Hey - sorry I was going to try to debug the issue this weekend but you beat me to it. That's really odd though because the filter is comparing on your current logged in email to the email in the reserved by field. I will update the instructions with a note that if you're having issues with the data not showing to try updating the filter.