You can define a
DataSourceEvents
extension point that provides custom data to a report when the database is
verified or the report is refreshed. For example, you can populate a report
with data from a Plain Old Java Object (POJO) object.
Note: To initially populate a report with custom
data, define the
editorOpened
extension point and populate the report with custom data when it is opened in
the editor.
Extending the data source events involves the
following steps:
Classes used for data source events
com.businessobjects.crystalreports.designer.sdk.IDataSourceChangedListenerAn interface that defines a listener for
database verification and data refresh events.
Extension points used for data source
events
com.businessobjects.crystalreports.designer.sdk.DataSourceEvents