createDocument(parentkey: Number, name: String, id: String, callback:function|PP.Delegate);
parentkey. Express report key.
name. Name of the created document.
id. Document identifier.
callback. Callback function.
The createDocument method creates an express report document.
The method returns an object of the PP.Exp.EaxDocument type.
Use the example given in the Example of Creating the ExpressBox Component page. Replace the script line
var eaxAnalyzer = eaxMdService.open(108);
with the following one:
var eaxAnalyzer = eaxMbService.createDocument(0, "New Document");
After executing the example an express report container with a new document is created.
See also: