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
Comment #1
aaronbaumanThis 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.
Comment #2
rj commentedI 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?
Comment #3
TimAlsop commentedYou 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.