Drupalers,

I am attempting to create an integration module between SugarCRM and Drupal. What I would like to do is pull data from Sugar via SOAP and create corresponding CCK nodes in Drupal to display the data. So my question is, once I have retrieved the data from Sugar how do I create a CCK node with it? Any help on understanding the API for CCK would be appreciated.

Thanks,
Chuck

Comments

victorkane’s picture

Just a suggestion, but from my (initial) experience with CCK, I would say:

1. Make a CCK node for each several business objects.
2. Have the web service bring down the data into those database formats.

Another option would be to create CCK nodes on the fly, from the API, whenever you import a new kind of business object.

I wonder if anyone has any better suggestions?

Victor Kane
http://awebfactory.com.ar

Vyoma’s picture

Hey vickorkane, do you have any links to the CCK API documentation?

My requirement is similar to the cachilupi - I basically want to create a set of CCK content types on install of a module.