|Merging BIRT .rptdesign [message #686276]
||Tue, 21 June 2011 23:49
Registered: June 2011
I'm a newb to BIRT and I'm goofing around with manipulating the actual .rptdesign files seeing if I can create some kind of FrankenBIRT implementation.|
I am attempting to merge/append 2 .rptdesign file bodies into one, and the basic methodology is similar to this (simplified version):
SlotHandle reportSourceBodyHandle = reportHandleSource.getBody();
SlotHandle reportDestinationBodyHandle = reportHandleDestination.getBody();
Iterator iter = reportSourceBodyHandle.iterator();
DesignElementHandle item = (DesignElementHandle)iter.next();
It gives me an error stating:
'Element "report.Body" is not allowed to be added into the (Body) of "Report Design", for it is already in the design.'
The destination doc doesn't have anything in the body, so I'm assuming it's talking about the reportDestinationBodyHandle object having that already defined, but I'm not sure how to get around this.
Powered by FUDForum
. Page generated in 0.03075 seconds