Bookmarklet for doing web research

When you’re researching constituents (donors, community leaders, politicians) you’re probably using the web. Google is now a verb, for heaven’s sake. But if you find juicy tidbits, it would be nice to add that info to a person’s record in Salesforce, where it will become part of your complete picture of them. So I created a simple bookmarklet that will grab what you’re looking at and open a create new Task form already populated with what you’ve highlighted on the page.

Drag this to your bookmarks toolbar.

After creating the bookmark, you’ll have to change two things in the URL:

  • Use the right na# at the begining of the URL
  • The first field passed is the URL field. Tasks don’t have a URL field. This bookmark will work without one, but won’t capture the URL anywhere. You’ll have to create a URL field and put it on the page layout. Then get the form field name (which will be a nasty guid) and replace it in the bookmarklet to correctly record the URL in the task

To find the guid for the field name, you can use a cool tool that Ron Hess pointed me to a while back.

In Firefox go to Salesforce.com and hit a New Task button on an Account. When the edit form for the task loads up, go to Tools | Page Info in your browser. Hit the Forms tab and it will list all the forms on the page. You care about the EditPage form. Select that and it will list all the form fields. One will be labeled whatever you named the custom URL field, but will have a guid for a name. Grab that guid and put in the bookmarklet, replacing the guid right after salesforce.com/00T/e?.

Once you get it working, you can prepopulate a new Task form with web information. Then just relate that task to a Contact and/or another object and save. Your web research is then in Salesforce.com. Easy as pie!

5 Responses to “Bookmarklet for doing web research”

  1. JC Says:

    Steve;

    Great addition - thanks for publishing. Question for you: Is there a way to modify the properties to open a case rather than a task?

    Many Thanks;
    JC

  2. Steve Says:

    Would be easy to do, just follow the steps above but looking at the new Case form instead of the new Task form.

  3. gokubi.com » Blog Archive » Storing Media Clippings in Salesforce Says:

    [...] posted a bookmarklet a while back that helps you create Salesforce Tasks from web research. That’s swell and works with all versions of [...]

  4. Ayal Says:

    That’s great. What about the authentication details? How is the user + password details of Sales Force entered? Does salesforce need to be open while using the bookmarklet?

    Thanks

  5. Steve Says:

    Salesforce.com handles that for you. If you’re logged in already, it just works. Otherwise it takes you to the login screen and after you successfully login, you get taken to the newly created task.

Leave a Reply