Document Conversion and Loading Strategies

When loading documents, you can save memory by loading only those portions of the DOM that are required by a given script, For example, JavaScript Update uses only dashboard sections. To log a list of section names in a document, you do not need to load the entire tree of nodes that lie beneath the sections. An example of the required syntax:

env.getBqyDocument(documentFile, bqReadWriteDom, bqJavascriptUpdateStrategy);
env.getBqyDocument(documentFile, bqReadOnlyDom, bqDashboardReportStrategy)
env.getBqyDocument(documentFile, bqReadOnlyDom, bqDashboardReportStrategy)

These strategies are provided for loading sections:

Note:

A just-in-time approach to DOM buildingmakes document loading strategies redundant. Any strategy parameter provided is simply ignored. In addition, the bqReadWriteDom script is ignored.