Closed (fixed)
Project:
Salesforce Suite
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2009 at 00:52 UTC
Updated:
5 Mar 2010 at 19:20 UTC
As per http://drupal.org/node/507800#comment-1936264 this patch adds a hook to core which gives other modules an opportunity to provide the sfid for an existing salesforce object which matches the drupal object which is being synched (and which is not currently matched to an sfid).
Please see http://drupal.org/node/507800 for more information.
| Comment | File | Size | Author |
|---|---|---|---|
| salesforce_find_match_hook.patch | 2.68 KB | Sid_M |
Comments
Comment #1
Bevan commentedSid, as per http://drupal.org/node/507800#comment-1873144, please move this part into an implementation of the hook function in salesforce_api.module.
If you're not familiar with how to invoke or implement hooks the Drupal way, let me now and I'll document in more detail.
Comment #2
Bevan commentedComment #3
aaronbaumanhttp://drupal.org/cvs?commit=330898
Comment #4
aaronbaumanAlso implemented is similar call to salesforce_api_search_for_duplicates on sf_user_import and sf_node_import.
ie. hook_sf_find_match should return nid or uid (etc.) when direction is "import" and salesforce id when direction is "export".