Often I'll have a staging environment that's connected with the Salesforce sandbox, and a local or remote development environment connected to the same. However, to maintain some sanity, I'd like to have data pushed to Salesforce from just the staging environment. It should be easy enough to use hook_salesforce_api_pre_export to provide an option for a "Read only" mode for development environments.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | read-only-1543372-1.patch | 910 bytes | kostajh |
Comments
Comment #1
kostajh commentedHere is a patch to prevent exports via SF Entity and log outgoing data. Both options are controlled via variables, salesforce_api_log_pre_export and salesforce_api_read_only, that can be set by the developer using Drush. I don't see a need to expose this via the UI at this time but am open to the idea.
Comment #2
kostajh commentedCommitted to 7.x-2.x http://drupalcode.org/project/salesforce.git/commit/615faab
Comment #3
kostajh commented