Server 'loadObject' event

New in package 166

Syntax

Server.on( 'loadObject', function loadObject( objectData ) { ... } )

Description

An event listener executed when the Server is about to create or load a main object.

The Server can create and load objects in the newObject(), loadObject(), startChanges(), updateObject(), discardChanges(), deleteObject() etc Server methods.

Parameters

Parameter Description
objectData An objectData to be used for creation or loading the object Server. Only $type, $id, $new and user-supplied fields are filled out.

Context

See [Server Context].

See also

Server methods: newObject(), loadObject(), startChanges(), updateObject(), commitChanges(), discardChanges(), deleteObject()
Server Events: 'objectLoaded', 'changesStarted', 'commitChanges', 'discardChanges', 'changesFinished'
Form

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.