ActiveDocument object
Enables the pre-loading of embedded browser objects for the currently active section in order to increase performance in EPM Workspace, especially if the section contains large startup scripts. When the Interactive Reporting Service encounters an embedded browser object, it generates and sends the empty Dashboard HTML with the embedded browser object to the browser, which contains only iframes of the embedded browser object. When the HTML is rendered, the browser processes the URLs of the iframes automatically. At the same time, the Interactive Reporting Service resumes the processing of the section and executes any Object Model script if it exists. Finally the browser is refreshed with the actual Dashboard HTML. This method preloads the section named in the argument. By default, if no section name is specified, the active section is preloaded. The method is valid only if the specified section is of a Dashboard type and contains an embedded browser object.
The PreloadContent (Method) should be exercised carefully, following these recommendations:
Invoke the PreloadContent (Method) only after the point in which URLs of the embedded browsers are determined.
All embedded browsers of the preloaded Dashboard are displayed even before that Dashboard is activated.
Invoke the PreloadContent (Method) only for a single Dashboard that users visit. This is recommended to avoid overloading the browser, which could cause negative performance.
Expression.PreloadContent([optional] String SectionName]
An expression that returns section object.
This example shows how to preload the Dashboard section.
ActiveDocument.PreloadContent("Dashboard")