Leave a comment
Ever wanted to have a CCK field that fetches data from an external source and displays it? Something like node or user reference but for external data? Yep, we've all (probably) been there.
I managed to put together something that lets me fish data from our internal API (which supplies many of our services with miscellaneous data from resources to domain location), store it in Drupal and output it using additional data from the API if using more advanced formatters.
I'm having one of those grin on your face moments ATM. Enjoying it while it lasts so to speak before the herds descend to test every nitty gritty of it.
Step 1: Empty resources field