We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [geolocation]

The Geolocation field type allows for SOQL queries based on location and distance. Functions DISTANCE and GEOLOCATION support distance and location-based SOQL queries.

Filter by
Sorted by
Tagged with
0
votes
1answer
152 views

Display nearest shop to one user thanks to ampscript and latitude longitude

I have 2 database with - the geographical address of users (latitude and longitude) - the geographical address of my shops (latitude and longitude) I want to display in an email the 3 nearest shops ...
0
votes
1answer
43 views

MobilePush getting lat/long from user

so for iOS MobilePush, i have location based and outbound based push notifications working, and configured the following ETPush pushManager with proper services enabled, and other changes I need to ...
0
votes
2answers
217 views

Retrieve Attributes of Mobile Push Locations

I was trying to use Mobile Push API to create Locations in Marketing Cloud. But I didn't understand how to use Location Attributes to pass Location-based parameters to the message context and/or ...
0
votes
1answer
70 views

Coordinates of few accounts are not updating on bulk insert and update through data loader

//Refactored code after getting inputs from @David public void HandleAfterInsert(){ system.debug(LoggingLevel.DEBUG, '***Inside after insert- ' ); for(Account account : newAccs){ ...
0
votes
1answer
538 views

Using ESRI Maps in Salesforce via Javascript API

I am building a visualforce page that displays the geo-location of users in an ESRI Map (Not Google Map for reasons). The data is in a cusotm Location object with username, latitude and longitude. I ...
0
votes
1answer
298 views

Geo Location, Location based push messages not working

I have recently upgraded my Android and iOS Apps with new ET journey builder versions.Totally followed the Learning App, but location based push messages not functioning as previous. I can see ...
0
votes
0answers
70 views

Possible to show “nearby” campaigns on lead/contact by geo?

My goal is to show a list of related campaigns on a lead/contact profile that are "nearby" to the person based on their postal code. Ideally, I would add a custom field to the campaign object that ...
0
votes
1answer
79 views

Geolocation setup, for single -36.922970, 174.792207

We are wanting to use Geolocation in an effort to get physical address more precise at the account level, but it is split into Latitude and Longitude when you enter in the geocode which is erroring ...
0
votes
1answer
159 views

App is taking long time to open after restart the android device

Recently we have added the Geofence feature in to our app. After adding this feature, we have noticed the app is not responding for long time after restart the phone. This was only happening on ...
0
votes
2answers
125 views

how to submit a geolocation field via the API create command?

I'm starting out using the enterprise API for PHP with a simple create command... $createResponse = $mySforceConnection->create($insertArray, 'customobject__c'); My $insertArray includes a value ...
0
votes
0answers
737 views

Visual force Error-System.TypeException: Invalid decimal

i have written code in apex while saving the Geo location in my detail page. While doing this an error is coming on this particular line.It throw an error on my particular this code newSupply....
-1
votes
2answers
320 views

Hi, I am trying Execute the following code in Visualforce page to get the current Location, But output is not coming. Please check & provide solution

Link of the code: http://www.aspsnippets.com/Articles/Get-Current-Location-Latitude-and-Longitude-using-JavaScript-and-HTML5.aspx Code: <apex:page> <script type="text/javascript" src="http://...
-2
votes
1answer
70 views

Reverse geocoded address

Is it possible to get the address and map it into Account's standard addressess based on the long lat? I have a code which gets the current long and lat and updates the details of the account in ...
-3
votes
1answer
744 views

Unable to fetch latitude & longitude in apex

i have a requirement to provide distance between two objects with latitude and longitude. But i am getting null as per debug logs where i missed it. Apex Class: for (Opportunity opp:[Select Id,Name,...