Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagejs
titleObtaining a GE Object
linenumberstrue
Aptify.framework.genericEntity.getEntityObject("Persons", 10, function (result) {
	if (result.success) {
		var personGE = result.GE;
	}
});

...