Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Dynamically setting the eventhandler for a datasource.
TroySwRI
Is there a way to dynamically set which class will be the eventHandler for a datasource? I would like to be able to iterate through all datasources and set the eventHandler to the class of my choosing.
Find more posts tagged with
Comments
JasonW
You shold be able to do this in the beforeFactory event. Like:
reportContext.getDesignHandle().findDataSet("Data Set").eventHandlerClass = "my.event.handlers.MyScriptedDataSet2";
Jason