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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Get location in PowerA...
Power Pages
Unanswered

Get location in PowerApps portal and autopopullate a form fiel

(0) ShareShare
ReportReport
Posted on by 4

I am working on a portal. I have created a form for a custom entity and some of the fields I want to store are related to the location: Latitude, longitude, Country etc

Is it possible to get the location from the device where the powerapps portal is open and autopopullate that info in the form?

Thanks!

Categories:
I have the same question (0)
  • abeldjilali Profile Picture
    54 on at

    I think you can reach that usng Javascript on the form, when the form is ready you can execute JS to get the geolocation then set it in fields displayed in the entity form using JQuery 

    https://www.w3schools.com/html/html5_geolocation.asp

     

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 Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Pages

#1
Suriyanarayanan V Profile Picture

Suriyanarayanan V 45

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 14 Most Valuable Professional

#3
DP_Prabh Profile Picture

DP_Prabh 13

Last 30 days Overall leaderboard