ActiveDocument object
Enables the pre-loading of the active Dashboard home section with at least one embedded browser object to increase loading performance in the EPM Workspace. This method is useful when there are little or no startup scripts associated with the Dashboard section. 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 Dashboard section and executes any Object Model script if it exist. 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 Dashboard section is preloaded.
Use PreloadHomeSection (Property) with the HomeDashboard (Property) . This property sets the default Dashboard Home section at publishing time, which instructs the Interactive Reporting Service to open this section instead of the last-opened section set in the Interactive Reporting document (.bqy). The HomeDashboard (Property) is equivalent to selecting a section on the Dashboard Home dialog. If the Dashboard Home section has been selected in the user interface, it overrides any selection made in the HomeDashboard (Property).
Read-write, Boolean
This example show how to preload the active Dashboard home section:
ActiveDocument.PreloadHomeSection = true ActiveDocument.HomeDashboard= "Dashboard"