rbf_createObjectDef()

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.
needs tech-review.

Purpose

Creates a new object definition, including any specified fields and relationships, from an XML document.

Syntax

rbf_createObjectDef(xmlString, callback, errorCallback)
				
			

Parameters

xmlString

A string containing the XML document describing the object to be created.

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.