CreateObject

Top  Previous  Next

×V5.0Ø

S

A

W

WS

ü

 

Syntax -

CreateObject <ObjectName> <XMLPath> [<ObjectType>]

       Where:

       <ObjectName> is an unquoted user defined string.

       <XMLPath> is a literal string or a variable that contains a literal string.

       <ObjectType> is an unquoted string defined by the XML file

 

Description:

This command is used to create an object to be used with ExecuteObjectMethod or GetObjectData. The XML file contains all of the objects available and its methods. The command reads the XML file provided in the path and EMUE uses it to provide assistance building the command through code completion. Once the object is created, it can be viewed with its available methods in the Object Data tab.

 

Sample 1:

       The following command uses the USPS XML file to create an Address object.

CreateObject Address "C:\EMUE\ObjectDefinitions\USPS.XML" USPS

 

Sample 2:

       The following command uses the NPI XML file to create an NPI object.

CreateObject NPIObject "C:\EMUE\ObjectDefinitions\NPI.XML" NPI

 

See Also:

ExecuteObjectMethod

GetObjectData

Collections

PropertyExists