...
To get a GE object, you'll need the entity name and record ID of the record you're interested in. (If you want a new record, that's ID -1.) Call Aptify.framework.genericEntity.getEntityObject(); the GE will be passed to the callback (http://recurial.com/programming/understanding-callback-functions-in-javascript/) function.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Aptify.framework.genericEntity.getEntityObject("Persons", 10, function (result) { if (result.success) { var personGE = result.GE; } }); |
...