function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Find Nearby - My Records Question

A reader asks -- how does My Records filter work? 


So I've been reviewing the code this morning and the flow is:


* query for records of a type within the geo bounds

* filter out by owner

* filter out by other criteria (type, industry)

* display on a map


In testing, it appears that the My Records filter has something goofy on it.  It's probably related to the fact that's its using post filtering instead of query based filtering. 


If you have the code the controller in question is FindNearbyMap.cls and the method is "Search". 


The refactor we likely need is something that does a better job filtering the data at the query level. 




Hi i still have the same problems with the Find Nearby feature and one more.


* Cannot set the Mapping Adress to "Do not map". When I do that and choose Save it just goes back to Billing.