web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Check current location...
Power Apps
Unanswered

Check current location coordinate if user is not within the predefine coordinate range then send notification

(0) ShareShare
ReportReport
Posted on by 10

Hi,

I am trying to figure out a way of checking current Location(lan,lat) of user. If in case the user is out of the office for more than 60 min, then send an app notification. In SharePoint list  lat and lang field with its predefine cordinate.

Categories:
I have the same question (0)
  • StretchFredrik Profile Picture
    3,395 Super User 2025 Season 2 on at

    Try this to get the current location:

     

    Set(myLocation, BingMaps.GetLocationByPoint(Location.Latitude, Location.Longitude))
  • snehal_123 Profile Picture
    10 on at

    I have tried this one but how to calculate the time if the users current location  doesn't match with predefine coordinate more than1 hour then send notification.

     

  • StretchFredrik Profile Picture
    3,395 Super User 2025 Season 2 on at

    Ull have to save the time the location was taken to your datasource. That way the app knows how long the user has been away from the office even if the app gets shut down.

  • snehal_123 Profile Picture
    10 on at

    But how to calculate these 60 min? 

    how to map current leave time to outside time of 60 min if user goes out in between time?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard