Hi, thanks for the work on this module. I have successfully configured both sf_user (using content_profile) and sf_node to sync D->SF. I went in to salesforce_api.module and added "Case" to $sf_objects (line 183), which worked and I was able to successfully export to SF cases (although I couldn't get the AccountID or ContactID fields to sync). Is this the correct way to add additional SF objects to the api or will I run into problems when I need to upgrade? Thanks for the help.

Comments

aaronbauman’s picture

Status: Active » Closed (fixed)

This will definitely break when / if you upgrade SF module.

There's no reason to hack the module in this case -- the SF Objects are configurable through the salesforce admin at :
Site Configuration > Salesforce > Object Setup
(ie. http://example.com/admin/settings/salesforce/object)

You can enable and disable SF Objects through that interface.

rj’s picture

I do not have > Object Setup, or /admin/settings/salesforce/object (or any variation like /case, /campaign, etc). Am I missing something? I have the most current version of salesforce and all the modules are enabled. Is there something I forgot to do?

TimAlsop’s picture

You need to apply the patch which is described at http://drupal.org/node/476978
I had similar requirement to you, but I found this patch before I started to change the code.