createFieldDef()
Purpose
Creates a new field definition from an XML document.
See Field XML Definition for a description of the DataFieldDef XML node and an example of its use.
Syntax
createFieldDef(string sessionId, string xmlString)
Parameters
sessionId
A string containing the session ID obtained at log in.
xmlString
An XML string describing the field in an
Output
Status text: Field ABC has been created
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
This example shows how to call createFieldDef():
String infoMessage = binding.createFieldDef(sessionId, xmlString);