Hi Folks!
I've set up the services 3 module and all the amfserver/zend dependencies, and can retrieve node information from D7 back into actionscript. However, I am soooo stuck on trying to update node fields back into Drupal. I've run and understand the tests provided by Rolf Vreijdenberger in his Drupal7AmfServer.as file. However, I see no example for doing the node update.
The handlers have been set:
proxy.setHandler("node", "retrieve", onResult, onStatus);
proxy.setHandler("node", "update", onResult, onStatus);
Using his sequencing approach, I can retrieve the node using:
sequence.add(new DrupalInvokeTask(proxy, "node", "retrieve", 1 ));
The next step to do an update would be something like:
sequence.add(new DrupalInvokeTask(proxy, "node", "update", 1, ????? ));
????? means "I don't have a clue what to put here, really." How do I update the field, or even multiple fields? Could someone help me out or point me in the right direction?
I apologize in advance if this is either the wrong forum to be asking the question, or the question is in the wrong format.
Regards,
Bill