cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Working with offline capability, but get location

Hello guys, I am working on a app that I need to my users fill a form, they will not have connections sometimes, so I made the offline capability and it is working fine.

But I have an point here.

 

The main reason to do this app is a inspection of some equipments along the city.

But, when the manager of the responsible area told me that some users fill the form even without going to the equipment, he asked me If i could collect the position of the users when submit the form, I said yes (collection the lat & long on login), but the problem is:

 

Sometimes my users will not have the connection when submiting the form, so how can I collect the location?

1 ACCEPTED SOLUTION

Accepted Solutions
seadude
Level 10

Re: Working with offline capability, but get location

Hm. Does Location.Latitude require Connection.Connected? I haven't tested that.

You might try:

  • Textbox Control with Text Property set to Location.Latitude
  • Save and Publish App
  • Open app on mobile device
  • Verify Latitude is displayed
  • Turn Airplane Mode on
  • Wait a few and see if Latitude disappears
  • Close the app fully
  • Reopen the app (with Airplane Mode still on)
  • Is Latitude displayed?

View solution in original post

4 REPLIES 4
seadude
Level 10

Re: Working with offline capability, but get location

Hm. Does Location.Latitude require Connection.Connected? I haven't tested that.

You might try:

  • Textbox Control with Text Property set to Location.Latitude
  • Save and Publish App
  • Open app on mobile device
  • Verify Latitude is displayed
  • Turn Airplane Mode on
  • Wait a few and see if Latitude disappears
  • Close the app fully
  • Reopen the app (with Airplane Mode still on)
  • Is Latitude displayed?

View solution in original post

Anonymous
Not applicable

Re: Working with offline capability, but get location

Cool! The Latitude and Longitude still appers even the app is opened offline mode, how can this be possible?

 

I will give a try now to collect this info with the form.

 

Thank you so much!

Highlighted
seadude
Level 10

Re: Working with offline capability, but get location

My please @Anonymous. If you found this useful, please consider marking as solution so others can find the info as well.

Take care!

Anonymous
Not applicable

Re: Working with offline capability, but get location

hey @seadude , thank you so much!

 

 

but let me ask you another question, how can I provide the offline capability, using a sharepoint list, so the user could also attatch a file?

 

In the offline capability we have to collect the records, how can we collect the attatch and save it later?

is it possible to do?

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Demo Extravaganza Championship Voting Open

Voting Ends: October 30, 2019!

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 420 members 4,738 guests
Please welcome our newest community members: