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

Community site session details

Session Id : 6tt1B9gtrN0Jgo42XahVan
Power Apps - Microsoft Dataverse
Unanswered

Capture location in Model Driven App

Like (0) ShareShare
ReportReport
Posted on 3 Feb 2023 10:17:06 by

Hi,

May I know if it is possible to capture Latitude and Longitude in the Model Driven App (like Canvas Apps?)

 

Regards

Stephen

Categories:
I have the same question (0)
  • Mira Ghaly Profile Picture
    11,409 Moderator on 03 Feb 2023 at 20:20:11
    Re: Capture location in Model Driven App

    @Anonymous 

    One of the easiest solution is to create an embedded canvas app in your model driven location.

     

    Check below 👇 for embedded canvas app:

    https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/embed-canvas-app-in-form

     

    https://wp.me/pc1V7C-ki

     

     

  • ChrisPiasecki Profile Picture
    6,414 Most Valuable Professional on 03 Feb 2023 at 20:20:25
    Re: Capture location in Model Driven App

    Hi @Anonymous,

     

    Do you mean is it possible to get the current location of the device using the app? If so, yes it is possible but only on a mobile device. It requires using JavaScript via the Xrm.Device.getCurrentPosition() function.

     

    Also, you can use a Custom Page in your model-driven app which gives you access to the Canvas App functionality.

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

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…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 629 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 397 Super User 2025 Season 2

#3
wolenberg_ Profile Picture

wolenberg_ 232 Moderator

Last 30 days Overall leaderboard

Featured topics

Loading complete