Wednesday, 4 January 2012

Integrating Salesforce.com with Drupal

I was recently charged with producing a rich, modern consumer website, for a client already heavily invested in the Salesforce.com CRM. My employers, Desynit, already have a strong understanding of the Salesform.com platform, and alongside my experience with rapid development CMS systems, we set ourselves the goal of having a fully functional prototype system up and running within a week.

The core site functionality was to deliver polls, surveys and discussion forums to registered users, with a mechanism for rewarding customers for their participation and interaction; whilst at the same time, integrating all captured data with the existing Salesforce implementation.

Step up Drupal 7 and the Salesforce Suite module.

Anyone familiar with the Drupal platform will be aware of it's incredibly quick set-up. With the dawn of Drupal 7, its new and improved core modules, (Field, Poll, Comments) and site theming tools, by the end of the first day I already had a visually impressive website, with full functionality for user navigation, registration and interaction through forums, polls and article comments.

I was hoping that implementing the Salesforce suite module would prove equally smooth and efficent, and I must say, I was not disappointed. There is one additional step you have to take above and beyond the simple "paste the URL" process for installing contrib modules on Drupal 7, and that is to install the Salesforce.com PHP API. This can be downloaded from GitHub (ignore the "Sorry, there aren't any downloads for this repository" - and click on "Download as Zip/gz") and then extract it to \sites\all\libraries\salesforce. You can then rename the top level folder to "toolkit" (so that instructions.html resides in \sites\all\libraries\salesforce\toolkit). 

Once this is in place, you can navigate back to your modules page and enable whichever relevant submodules you want to use. I only needed the Core API and Entity modules to achieve my goals, and you should note that at the time of writing not all the modules were production-ready for Drupal 7.

Having enabled the modules, Drupal immediately has a new set of administration pages available to you at admin/config/salesforce, and the module even comes pre-configured with a couple of default object mappings for the fundamental Drupal concepts, User and Page. The next step you must take is to connect your Drupal site to your specific Salesforce.com instance, and I will outline how I went about this, in my next post.

Please note, this is all fantastically documented in the Salesforce Suite Documentation on drupal.org, as well as here.

21 comments:

  1. Hi Simon,

    I'm the project manager for a Salesforce.com/Drupal integration and the developers my company hired for this project are unable to complete the work. Would your company be interested in picking up this project and seeing it through to completion? The site is built and it is almost done. The only issue is with a registration form that is very complicated and completely integrated with Salesforce.com. Please contact me at astettler@ceo.org if this is something you might be able to take on.

    Regards,
    Allison Stettler

    ReplyDelete
  2. Thank you for your blog. Question - did you consider building the functionality via the Force.com platform - rather than making API calls from Drupal to Salesforce? I am also tasked with building a website for an organization that is using Salesforce as its CRM. We decided to use Drupal as our CMS - but now I am struggling to determine how best to leverage the Salesforce data. Below are the options that I am considering:
    1) Leverage our salesforce data using Salesforce Communities - customize via the Force.com platform - then integrate these pages into the Drupal site OR
    2) Use Drupal to Salesforce integration - access Salesforce data via API calls and customize in Drupal

    ReplyDelete
  3. This blog is the general information for the feature. You got a good work for these blog.We have a developing our creative content of this mind.Thank you for this blog. This for very interesting and useful.
    Sales Fore CRM Training in Chennai

    ReplyDelete
  4. I didn't have any knowledge about this but now i got some knowledge so keep on sharing such kind of an interesting blogs.

    salesforce developer training online

    ReplyDelete
  5. 1. many peoples want to join random whatsapp groups . as per your demand we are ready to serve you whatsapp group links . On this website you can join unlimited groups . click and get unlimited whatsapp group links 18+

    ReplyDelete
  6. Thanks for sharing information awesome blog post Online Education Quiz website For Exam Follow this website Gk in Hindi

    ReplyDelete
  7. This blog is the general information for the feature. You got a good work for these blog.We have a developing our creative content of this mind.Thank you for this blog. This for very interesting and useful.

    python Training in chennai

    python Course in chennai

    ReplyDelete
  8. Single purpose German Shepherds can be used as patrol or detection dogs. We sell these dogs to law enforcement all over the world.

    Our dogs all have high drives to work for the handler or trainer.

    All our single purpose german shepherd police dogs for sale are delivered with an international passport that holds vaccination records.

    ReplyDelete
  9. Organizations need to guarantee that the forthcoming Salesforce Consulting Companies has considerable references to flaunt their outstanding exhibition. Salesforce training with placement in Pune

    ReplyDelete
  10. Amazing opportunities came with amazing time and here is our institution offering you CS executive classes and a free of cost CSEET classes. So what are you waiting for contact us or visit our website
    cs executive
    freecseetvideolectures/

    ReplyDelete
  11. Do You Want To Know What Is Dollar To Real ? See The Latest Exchange Rate For Dollar To Real Here! We Will Keep You Updated With The Latest Rates.

    ReplyDelete
  12. Aximtrade Mt4 Download Is The Foreign Exchange Trading Platform Of Choice For Over 100,000 Investors Around The World. It's The Place To Trade Forex And Cfds On Global Markets, With Access To A Huge Range Of Assets And Features All In One Place.

    ReplyDelete
  13. Download Aximtrade Reviews Mt4: A Complete Solution For Your Forex Trading.

    ReplyDelete
  14. Automated Forex Trading With Aximtrade Reviews Metatrader 4 - Download A Free Trial Of Aximtrade Metatrader.

    ReplyDelete
  15. Are You Thinking About Joining AVATRADE REVIEW ? If You Are Then Read The Review On AVATRADE Fx In This Article. We, Will, Tell You About The Company, The Brokers, The Platform, And All The Information You Need To Know. Read More Here.

    ReplyDelete
  16. I simply wanted to thank you so much again. I am not sure the things
    that I might have gone through without the type of hints revealed by
    you regarding that situation.
    mysql online course in Chennai
    unix certification in Chennai

    ReplyDelete
  17. Very Informative blog thank you for sharing. Keep sharing.
    Jewellery Software
    Jewellery Software

    ReplyDelete
  18. Very Informative blog thank you for sharing. Keep sharing.
    Jewellery ERP Software Dubai
    Jewellery ERP Software Dubai

    ReplyDelete