rbf_getObjectDef()

Warning: Support for using this method with external objects (such as those mapped to external tables, to OpenEdge Service objects, or through a HDP connection) is a beta feature. This method is supported in production systems, except for external objects.

Purpose

Retrieves the specified object definition and returns it as an XML document.

Syntax

rbf_getObjectDef(objName, callback, errorCallback)
				
			

Parameters

objName

The object integration name.

callback

A function to process the specified operation and receive its result, in the XML format, as the first argument.

errorCallback

An optional parameter to receive an error message as the first argument. If you do not specify this parameter in the method call, the callback defined by rbf_setErrorsCallback(callback) is invoked to receive the error message.

Note: This API is supported in portals as well.

For information about the XML definitions in an object, see Object XML Definition.