Are there any basic examples for this module anywhere, just struggling a bit on how to get it working.
Have you taken a look at the docs: http://drupal.org/node/1936338?
Yes, so I have custom entity set up and I have created a resource, but after that I'm a bit stuck, such a pulling in the remote entities and mapping fields etc.
Pulling in remote entities is done by your connection class. The Microsoft Dynamics module linked to from the project page has an example.
Properties are mapped automatically, based on the declaration in hook_entity_info().
I'll shortly be committing tests for this module which contain an example test module.
Automatically closed -- issue fixed for 2 weeks with no activity.
Comments
Comment #1
joachim commentedHave you taken a look at the docs: http://drupal.org/node/1936338?
Comment #2
marcus178 commentedYes, so I have custom entity set up and I have created a resource, but after that I'm a bit stuck, such a pulling in the remote entities and mapping fields etc.
Comment #3
joachim commentedPulling in remote entities is done by your connection class. The Microsoft Dynamics module linked to from the project page has an example.
Properties are mapped automatically, based on the declaration in hook_entity_info().
Comment #4
joachim commentedI'll shortly be committing tests for this module which contain an example test module.