Mendix Client 4 API Documentation
Deprecated since 4.0
These functions have had their interfaces changed since 4.0.
mx.processor
.action’s argument object used to have a caller property. This has been moved into a nested object store.
.action’s argument object used to contain action parameters. These have been moved into a nested object params.
.action’s callback function signature changed from callback(ioArgs, value) to callback(value, ioArgs).
.get’s callback function signature changed from callback(objs, count, aggregates) to callback(objs, extra), where extra is an object with properties count and aggregates.
mendix.lang
- Method signature for
.sequence has changed to sequence(chain, callback, scope)
- Method signature for
.collect has changed to collect(chain, callback, scope)
These functions have been deprecated or moved to a new namespace since 4.0.
mx
.moduleUrl has been deprecated, use dojo.moduleUrl instead
mx.metadata
.getMetaMap has moved to mx.meta.getMap
.getMetaEntity has been deprecated, use mx.meta.getEntity instead
mx.processor
.distributeChange has been deprecated, use mx.data.update instead
.addChangeListener has been deprecated, use mx.data.subscribe instead
.removeChangeListener has been deprecated, use mx.data.unsubscribe instead
.subscribeToClass has been deprecated, use mx.data.subscribe instead
.unSubscribeFromClass has been deprecated, use mx.data.unsubscribe instead
.subscribeToGUID has been deprecated, use mx.data.subscribe instead
.unSubscribeFromGuid has been deprecated, use mx.data.unsubscribe instead
.xasAction has been deprecated, use mx.data.action instead
.getObjectsByXPath has been deprecated, use mx.data.get instead
.getAttributeListByXPath has been deprecated, use mx.data.get instead
.getObjectsByXPathSchema has been deprecated, use mx.data.get instead
.getObjectsByMicroFlow has been deprecated, use mx.data.get instead
.getObjectsById has been deprecated, use mx.data.get instead
.getObjectByXPath has been deprecated, use mx.data.get instead
.getObject has been deprecated, use mx.data.get instead
.createObjectByClass has been deprecated, use mx.data.create instead
.createObject has been deprecated, use mx.data.create instead
.deleteObjectsByGUID has been deprecated, use mx.data.remove instead
.saveObject has been deprecated, use mx.data.save instead
.commitObject has been deprecated, use mx.data.commit instead
.rollbackObject has been deprecated, use mx.data.rollback instead
.deleteObject has been deprecated, use mx.data.remove instead
.deleteMxObjects has been deprecated, use mx.data.remove instead
.sumOfXPathQuery has been deprecated, use mx.data.sumOfXPathSet instead
.sizeOfXPathQuery has been deprecated, use mx.data.sizeOfXPathSet instead
.countOfXPathQuery has been deprecated, use mx.data.sizeOfXPathSet instead
.avgOfXPathQuery has been deprecated, use mx.data.avgOfXPathSet instead
.maxOfXPathQuery has been deprecated, use mx.data.maxOfXPathSet instead
.minOfXPathQuery has been deprecated, use mx.data.minOfXPathSet instead
.ceilingOfXPathQuery has been deprecated, use mx.data.maxOfXPathSet instead
.floorOfXPathQuery has been deprecated, use mx.data.minOfXPathSet instead
mendix.lib.MxContext
.hasActiveClass has moved to mendix.lib.MxContext.hasTrackEntity
.hasActiveGUID has moved to mendix.lib.MxContext.hasTrackId
.hasTrackID has moved to mendix.lib.MxContext.hasTrackId
.getActiveClass has moved to mendix.lib.MxContext.getTrackEntity
.getActiveGUID has moved to mendix.lib.MxContext.getTrackId
.getTrackID has moved to mendix.lib.MxContext.getTrackId
.setActiveClass has moved to mendix.lib.MxContext.setTrackEntity
.setActive has moved to mendix.lib.MxContext.setTrackEntity
.setTrackID has moved to mendix.lib.MxContext.setTrackId
.setContextFromMxObject has moved to mendix.lib.MxContext.setContext
mendix.lib.MxObject
.getGUID has moved to mendix.lib.MxObject.getGuid
.save has been deprecated, use mx.data.save instead
.commit has been deprecated, use mx.data.commit instead
.rollback has been deprecated, use mx.data.rollback instead
.saveSequence has been deprecated, use mx.data.save together with mx.data.commit instead
mendix.lang
.runBindActions has been deprecated, use mendix.lang.sequence instead
.runAsyncActions has been deprecated, use mendix.lang.collect instead
.runActions has been deprecated, use mendix.lang.sequence instead
.clone has been deprecated, use dojo.clone instead
.dupObject has been deprecated, use dojo.clone instead
.round has been deprecated, use dojo.number.round instead
.toFixed has been deprecated, use dojo.number.round instead
mx.server
.getResource has moved to mx.server.get
mx.xas
.action has moved to mx.data.action
These behaviors have changed since 4.0.
dojo
.io is no longer guaranteed to be loaded by default, use dojo.require to load it explicitly.