Closed (duplicate)
Project:
Salesforce Suite
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2009 at 21:20 UTC
Updated:
23 Feb 2010 at 17:18 UTC
The Fieldmap API and UI that salesforce_api provides could be useful for other integrations where Drupal interacts with data objects on other 3rd party services, to create import/export scripts from, for example, CSV files, or conversion scripts, such as flexinode nodes to CCK nodes, CCK nodes to webform submission, etc.
Which parts could be abstracted into a more generic Fieldmap API on which Salesforce could be dependent?
I'm thinking;
* hook_fieldmap
* hook_fieldmap_*
* generic get functions for object structures, specific objects & fieldmaps
* caching of this data if it's from a remote party
* the fieldmap CRUD UIs.
* the mapping UI
* possibly more
Thoughts?
Comments
Comment #1
aaronbaumannode_import has a similar interface for mapping CSV columns to drupal object fields.
might be fruitful to take a look at node_import, but i don't have any concrete ideas for integrating / mimicking node_import functionality vis-a-vis salesforce.
Comment #2
aaronbauman#453846: FeedAPI Integration -- needs maintainer