EaxMdService.createDocument

Syntax

createDocument(parentkey: Number, name: String, id: String, callback:function|PP.Delegate);

Parameters

parentkey. Express report key.

name. Name of the created document.

id. Document identifier.

callback. Callback function.

Description

The createDocument method creates an express report document.

Comments

The method returns an object of the PP.Exp.EaxDocument type.

Example

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:

EaxMdService