%XML_ExportD2ObjToDocument function


Function
The function exports an object from configuration to XML document.
Declaration
INT %XML_ExportD2ObjToDocument(
  HBJ in objID,
  TEXT in eportSettings
 )

Parameters
objID The value of HBJ or INT type which represents the unique identifier of object (HOBJ).
exportSettings XML Export settings (optional parameter) in form [setting={on/off} [setting={on/off} [...]]].

Return value
Handle to the open XML document.
Description
The function asks the process D2000 Server to export the object (according to unique identifier of the object (HOBJ) which has been entered by parameter objID) to XML documents. If specific object does not exist or the parameter represents invalid value, the function will get back the invalid value.
Example
 INT _doc
 
 _doc := %XML_ExportD2ObjToDocument(_hbj)

 
 
 
 INT _doc
 
 _doc := %XML_ExportD2ObjToDocument(Sec\HBJ, "zero_hobj=off exp_logs=on")

Note
Error description can be called by means of ESL function %XML_GetLastErrorMessage (if the function gets back the invalid value).

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .