Saturday, February 03, 2007

Salesforce.com AJAX Toolkit and Firebug

Now I'm a salesforce.com's employee, recently using AJAX Toolkit so much often. Manoj Cheenath's AJAX Tools is really cool, but sometime I need some instant way to access Apex API from browser.

This is a bookmarklet to load salesforce's AJAX Toolkit on demand. Register this link to your browser's bookmarks.

load AJAX Toolkit

While you are in Salesforce.com's instance (I mean in *.salesforce.com), click the registered bookmarklet. Then open your firebug (or any other javascript shell) and put this into console.


sforce.connection.query('SELECT Id, Name FROM Account')


You can connect Apex DB and inspect data anytime.

2 comments:

Unknown said...

Very slick. Thanks for the tip!

Kingsley Joseph said...

great idea!