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

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
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 349 members 6,597 guests
Please welcome our newest community members: