The BqyDocument Object

The BQY Document Object Model (DOM) provides access to the features of Interactive Reporting documents. Use this object to modify the internal properties of documents.

Example: Retrieving a DOM for a document.

var uuiBqySrc = env.getParameterValue("document");
var objRep = env.getRepository();
var bqySrc = objRep.retrieveFile(uuiBqySrc);
var domSrc = env.getBqyDocument(bqySrc, bqReadWriteDom, null);

Note:

A DOM is a collection of BQYNode objects arranged in a hierarchy or tree structure.