add record onload

Can anyone provide a code sample to add a record onLoad via javascript? I can do it through Java but this seems to only be implemented on “save”. I would like to generate default records onLoad.

Hey,
via OnLoad JS you could run a exec call on one of your java methods.
See:
http://agileappscloud.info/aawiki/index.php/REST_API:exec_Resource

greetings

Christopher