Sunday, 09 May 2010 21:31
The following S-Rscript job adds a new record to a Dynarex document:
Note: the Dynarex method could be implemented within a gem but for now it's simpler to manipulate the XML directly.
Tested:
http://rscript.rorbuilder.info/do/dynarex/edit/contacts/index.xml/create?name=Mark&age=42
Observed (from index.xml):
dynarex
[!name] [!age] [!dob]
contacts[title,description]/contact(name,age,dob)
Jessica37
Mark42

Read more: