The data source element represents a connection to an external data system.
The Data Source script methods execute as methods of a
JavaScript object that represents the data source. See the Data Scripting
Objects section for a description of the
DataSource
scripting
object.
DataSource
scripting object
Perform initialization before opening the data source connection for data access.
Called just before BIRT opens the data source. Allows the application to customize the data source properties.
afterOpen
method
Perform initialization after opening the data source connection for data access.
Called just after BIRT opens the data source. Allows the application to perform any code-based initialization required for the data source.
beforeOpen
method
Called just before closing the data source connection.
Called just before BIRT closes the data source. Allows the application to perform code-based cleanup.
afterClose
method
Called just after closing the data source connection.
Called just after BIRT closes the data source. Allows the application to perform code-based cleanup.
beforeClose
method