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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Track the user's current location on Dynamics 365 mobile app

(0) ShareShare
ReportReport
Posted on by 700
Hi,
 
We got a requirement from a customer to track the user's current location, so we've developed an application using HTML web resources with AngularJS. We have deployed it as a web resource and called it from the ribbon button and dashboard within the Dynamics 365 mobile app. To track the user's location, we used the following code.

navigator.geolocation.getCurrentPosition(function (locat) {
var latitude = locat.coords.latitude;
var longitude = locat.coords.longitude;
}

We call this code recursively to continuously track the user's current location, and we are able to retrieve the current location when a user is using our application. When the user minimizes our application or the Dynamics 365 app, tracking stops. Is there a way to continuously track the user's current location even when the app is minimized.

Thanks!
I have the same question (0)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 137 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans