The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
21 views

Is it possible to use the setHeader method on HttpRequest Class to set the referer?

Using an Apex callout to Google Maps geocoding API, I want to authorize narrowly within Google to protect the client ID from being reused by anyone else. I believe the referer header needs to match ...
3
votes
1answer
74 views

Is it possible edit Geolocation custom field in Inline mode?

I have custom field Location of Geolocation type for standard objects (Account, Contract, Lead etc). For example, I want this field to be editable. On Edit Layout it is editable by default. But ...
5
votes
2answers
260 views

Is there any way to have a formula field displayed on Standard Edit Page Layout?

I use a Standard Page Layout (Account, Contact etc). I use standard page edit view to edit and update object (like this) On Standard Display View Layout I use Formula field to display Location (as ...
3
votes
1answer
104 views

How to display Location part of Address field type

Is there any way to display Geolocation part of Address field type in edit or display mode? Account object contains specific BillingAddress field of Address type (is in beta). Also, as mentioned ...
0
votes
2answers
83 views

Code to find physical location from IP Address

I need to find out the physical location of a client based on his IP Address. I have been able to retrieve the IP Address. Is there a way to find the geographic location from that?
4
votes
1answer
114 views

Find nearest branch from ZIP code entered by customer

We need to calculate the distance between the ZIP code entered by customer and the nearest branch (Branch is an object) to that ZIP code address. The Lat and Long values are calculated for both ZIP ...
0
votes
1answer
120 views

Hitting future call limit with Geocoding trigger

This trigger seems to work pretty well for Geocoding accounts... trigger AccountGeocode on Account (after insert, after update) { system.debug('AccountGeocode trigger fired'); ...
3
votes
1answer
94 views

Display a count of records within 15 miles of a subscriber ZIP code

I have an ExactTarget question. I have a data extension of _subscribers. One of the fields is their zip_code I have another data extension of _widgets which includes the widgets' zip_code1 I also ...
4
votes
1answer
401 views

can geolocation fields be used to calculate and display distance?

I have a geolocation field setup on an object and want to be able to display the distance from another location in miles on a Visualforce page. I see with the new geolocation fields you can use ...
1
vote
2answers
206 views

Is it possible to use the DISTANCE SOQL function without a GEOLOCATION field, or some other approach?

I want to make a SOQL call to "near me" filter the ACCOUNT records server-side. (Too many to bring down and filter on the client). It would seem that using DISTANCE function in the call would suit, ...
18
votes
1answer
615 views

What formulae does the Geolocation Distance use?

Forgive me if this is a bit extremely academic in nature, but I was wondering how Salesforce goes about determining the distance between two pairs of latitude and longitude? When I've looked at this ...
2
votes
0answers
153 views

Create Geolocation field type using java code

I am using com.sforce.soap.metadata.FieldType and com.sforce.soap.metadata.CustomField classes to create custom fields using java code. Now I want to create a field which is type of geolocation in ...
8
votes
3answers
186 views

Multiple Geolocation targets within a single SOQL query

Afternoon, I need to search for all objects within X miles of a set of known geo-located lat-longs. I've been looking at the geolocation features of SF but I don't see any mention of using multiple ...
0
votes
1answer
681 views

Google maps for SalesForce

I am trying to use Google Maps for my Organizations SalesForce account. We have around 100 users and they might access map frequently. Should I get any licence to use Google Map API ? I found this ...
-1
votes
1answer
227 views

What fields does Latitude__c and Longitude__c must use?

Latitude_c and Longitude_c are 2 fields when i want to use google maps in my salesforce account. What data type do i need to use for two of them. Can any one help me to integrate with salesforce to ...
2
votes
3answers
272 views

Geolocation field, inconsistent unit test results IDE vs. UI

I'm using the new Geolocation field data type and SOQL DISTANCE function in a Visualforce page. I'm using the SOQL with DISTANCE to retrieve records into a standardSetController. It works great - ...
6
votes
4answers
3k views

No such column Location__c using Geolocation field beta

I'm attempting to build a google map page that displays all sites within 5km of a certain point. I've added a Geolocation field called Location__c, and attempting to build a list of the sites in the ...
9
votes
3answers
2k views

Geolocation searching

I'm researching location search (ultimately on a Force.com site). For example's sake, the problem is to dynamically show a user what stores are w/in a certain distance (say miles) of a postal code ...