New in package 166
Syntax
Server.on.objectLoaded( function objectLoaded( object, objectData ) { ... } )
Description
An event listener executed when the Server creates or loads a main object. The event listeners can modify and extend the object before it is used by the Server.
The Server can create and load objects in the newObject(), loadObject(), startChanges(), updateObject(), discardChanges(), deleteObject() etc Server methods.
Parameters
Parameter | Description |
---|---|
object | An object created or loaded by the Server. |
objectData | An objectData that was given to the Server as a loadObject() argument. |
Context
See [Server Context].
See also
Server methods: newObject(), loadObject(), startChanges(), updateObject(), commitChanges(), discardChanges(), deleteObject()
Server Events: 'loadObject', 'changesStarted', 'commitChanges', 'discardChanges', 'changesFinished'
Form