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
pq100pq100 

Using ajax query to display markers on google map - deleted records still appearing

Hi All

 

I've embedded a Google map in a visualforce page and am using an ajax query/javascript to display all the points from a custom object as markers on the map.

 

This was all working as expected until i did a bulk delete of a number of records from that custom object using the excel connector. After the delete, the deleted records are still being displayed on the map, however, if you query the object using the IDE the records have as expected been deleted.

 

Any ideas what is going on here!?

Thanks for any suggestions.

Paul

pq100pq100

Answered my own question...

 

in case anyones interested changed:

 

sforce.connnection.queryAll

 

to 

 

sforce.connection.query