I know it’s been done multiple times previously but I decided to play around with Google Maps a bit more.
My initial goal was to interface with our companies data in Salesforce and plot it accordingly using the Google Maps API. We have all sorts of conditions and variables attached to our data so it would (and did) make an interesting map.
Problem: It quickly became apparent that our salesforce account didn’t support API access. Evidently it cost more money. That being said, Salesforce does have a great API and developer community but without access to it, you’re pretty much S.O.L.
Solution: Even without programmatic access, I discoved that you can still create reports and export results to CSV. Nothing exciting but it did prove to be the easiest and most efficient way to get data out.
Once I had report data, I wrote a massager in python that took a CSV file, stripped out the useless information, and used Yahoo’s public geocoding service to translate addresses into appropriate latitude and longitude values.
The original plan was to build a django-based front end around it but that was scrapped in the interest of time. Instead I used a bit of php thrown together from various sources.
In the end it turned out to be a fairly straightforward (but interesting nonetheless) hack. I used a couple hours at the end of day to implement basic filtering capabilities. The data being displayed concerned sales territories, current and potential accounts as well as probability that any given account would convert. Different aspects were colour-coded and labeled.
At the end of the day I was quite happy with what I managed to produce. The Google Maps API is quite trivial to work with, the challenging part was finding worthwhile data to chart.
I’ll take some screenshots and post shortly.
-
Pet Peeve: Don’t email my password to me in plain text You know the drill.
Signup for some random service on the internet
Receive a confirmation email with your account information
or
Forget a password for some random service ...
-
Eclipise Memory Analyzer (MAT) I must say the Eclipse Memory Analyzer looks pretty slick. There is some pretty good material over on the developers blog. Lastly, there was a talk on it ...
-
Open-source Web-based Code Review Tool: Rietveld Guido van Rossum, of Python fame, has recently released a Django-based application that enables web-based code reviews... Rietveld.
It supports any language and currently can hook into Subversion repositories. You ...
-
An implementation of the JVM in Javascript? Caught this over on JavaPosse Google Groups.
Essentially, some bright fellows over in Japan have developed a bytecode->javascript compiler. There's a demo floating around that took a Tetris ...
-
Facebook Chat? So it looks like the Facebook Chat service has finally started rolling out to my network (Facebook Chat has been mentioned previously).
Not quite sure how ...
Latest Entries
- Lessons Learned as a Project Lead
- Good ANTLR Resource
- Testing with Unitils
- Headed to Kelowna for a short vacation (and the laptop stays behind)
- Seam + Groovy + Maven : Nice Simple Hibernate POJOs
- Pet Peeve: Don’t email my password to me in plain text
- Eclipise Memory Analyzer (MAT)
- caBIG Annual Meeting - A developers perspective
- OS X + Java6: java.lang.UnsatisfiedLinkError: /usr/lib/java/libObjCJava.A.dylib
- Getting started with JBoss Seam and Maven
Blogroll
Mar 20th, 2007 at 4:40 am
Once you login to your Salesforce account you can go to
https://na1.salesforce.com/soap/webservices.jsp?setupid=WebServices
to get your WSDL. Then create a WS Client and you can get almost any data attached to your account including custom fields. Some parts are missing and I wish salesforce would make EVERYTHING accessible, but for a canned product you cant complain to much.