Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
How to add attributes to Label elements
Migrateduser
<p>Hi All ,</p><p> </p><p>i'm trying to set hyperlink on dynamically created level for sorting i'm using following script in beforeFactory</p><p> </p><p>importPackage(Packages.org.eclipse.birt.report.model.api.elements);
dataHandle = reportContext.getReportRunnable().designHandle.getDesignHandle().findElement(mylabel);
ac = StructureFactory.createAction();
ah = dataHandle.setAction( ac );
ah.setLinkType("drill-through");
ah.setReportName("SummaryReport.rptdesign");
ah.setTargetFileType("report-design");
ah.setTargetWindow("_self");
pb = StructureFactory.createParamBinding();
pb.setParamName("STATION");
pb.setExpression("dataSetRow["STATION"]");
ah.addParamBinding(pb);</p><p> </p><p>i need your help for this its give this error : TypeError: Cannot call method "setAction" of null</p><p> </p><p>Thanks in advance</p><p>mukesh</p>
Find more posts tagged with
Comments
There are no comments yet