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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 60 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 43

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans