Home      FAQ      Forum      Idea Exchange      Ask a Question      My Stuff      Help   
  
Location autofill from Browser Session
With the Location() Type column, there is a checkbox for "Automatically fill current location, if empty"...
This is non browser/device dependant...i.e. it doesn't matter whether you're using pc, Mac, iOS or android...It uses the browser sessions Lat/Long
But when you want to create a workflow trigger to populate Location(), only DeviceLat() or DeviceLong() can be used (or otherwise Geolocation API or similar is required...Too longwinded). This means that you need to setup a mobile device and use "Mobile Device Update" function....but this is limited to devices with no support for pc/Mac/linux
TLTR-------
Please add in:
BrowserLatitude()
BrowserLongitude()
as functions to support easy auto populate with workflows/formula functions
ID
1237
Category
Setup
Author

basenine
Date Created
11/13/2018 7:37:56 PM
Date Updated
11/16/2018 8:58:47 PM
Status
New Idea
Score
10
Promoted By
basenine
Comments
Kirill Bondar  Staff  11/15/2018 5:06:18 PM
Mobile app performs quite aggressively when it detects the need for coordinates (the presence of DeviceLocation() function in action assignments) - it **requires** your device to provide location with 30m accuracy and blocks all the other operation while working with GPS module. Yet this behavior is acceptable since it affects the only path - if you want the mobile app task to have location stamp, add DeviceLocation() to mobile app action.

With desktops it's not the case. Many of them do not have GPS at all and rely either on IP-address-to-location database or on user filled settings in control panel. So, this would be likely optional feature. Next, getting current location takes significant - for computers -- amount of time, couple of seconds. This makes it hard to use BrowserLocation() in formulas. If you attempt to view the form with BrowserLocation() formula on screen, how should it behave? What if BrowserLocation() is in view's filter? What should it return when used in periodic trigger's action when there is no user in context?
basenine 11/15/2018 5:58:37 PM
Yes. I see the problems that can arise if used in a formula.
How about having a built in action in the location column that can be used on specified trigger? Ie...a drop list of available columns from the table can be presented...a column is selected as the trigger...location populates when selected column is modified...
There’s obviously some code in the column that allows for automatic populate if blank...
Webpages also have the ‘remember my decision for a day...’ pop up warning. Could this be a solution?
Kirill Bondar  Staff  11/16/2018 7:58:50 AM
> location populates when selected column is modified...

This could be totally different story. See, trigger does not perform anything, it rather designates the moment to run the list of actions. But action can be run via change trigger or custom button (user-initiated) or without the user - by periodic/time trigger.

> Webpages also have the ‘remember my decision for a day...’ pop up warning. Could this be a solution?

When website asks for location, browser asks the user whether location API access should be enabled **for website**. But on desktops location services are often disabled at all - and sometimes not in browser rather somewhere at OS level.
basenine 11/16/2018 8:58:47 PM
Not necessarily obvious, but I don’t really expect to use the data gathered when performing task on a desktop.
It’s really a want/desire to have a simpler method to get location from mobile device rather than using the app. I’ve had limited success with the app (device location works well...just other functions seem hit and miss esp when starting record in one platform and finishing it off in another...

Phonegap??
Feedback
 
Back to Search Results