updateObjectDef()

Purpose

Updates an existing object definition and its components from an XML document.

See Object XML Definition for a description of the DataObjectDef XML node and an example of its use.

Syntax

updateObjectDef(string sessionId, string xmlString); 

Parameters

sessionId

A string containing the session ID obtained at log in.

xmlString

An XML string describing the object in an DataObjectDef node, along with fields and relationships.

Output

Status text: Object ABC has been updated

Permissions Required

All metadata methods require administrative privileges, regardless of the view, edit, create and delete permissions set on the application or object. Establish the session by logging in with credentials for an administrative user.

Example

The following example invokes updateObjectDef():

String infoMessage = binding.updateObjectDef(sessionId, xmlString);