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)
Birt Library old refernces are not removed
srinivas.s
Hi,
I have designed initially a library. later on i updated the library data source and and script. when i run the report, report engine is its taking old references while generating a rptdocument. how to remove the old referneces. I am using BIRT 2.5 version. any help appreciate.
Find more posts tagged with
Comments
mwilliams
Can you try downloading a newer version of BIRT to see if this is still an issue? If it is, please log a bug for this. If you look at the XML source of the library, is the old information still there? Or is the issue in passing the new information to the report? Let me know.
srinivas.s
Hi,
old references were not there in xml source. old reference is generated in rptdocument.
below datasource is in design file
<data-sources><oda-data-source extensionID="org.eclipse.birt.report.data.oda.jdbc" name="DataMart" id="7"><property name="eventHandlerClass">com.calidris.report.common.service.ReportDataSourceEvent</property><property name="odaDriverClass">oracle.jdbc.driver.OracleDriver</property><property name="odaURL">jdbc:oracle:thin:
@10
.0.1.50:1521:findb</property><property name="odaUser">LUSAKA_DWH_OWNR</property><encrypted-property name="odaPassword" encryptionID="base64">QWJjMTIzNDU=</encrypted-property></oda-data-source>
The below datasource in not there in xml source and design. but it is appearing rptdocument. Actually it was created earlier but removed later. if i remove beforeopen script in below datasource my prblm will be solved.
<oda-data-source extensionID="org.eclipse.birt.report.data.oda.jdbc" name="ODS" id="1599"><property name="eventHandlerClass">com.calidris.report.common.service.ReportDataSourceEvent</property><property name="newHandlerOnEachEvent">true</property><method name="beforeOpen"><![CDATA[reportContext.setPersistentGlobalVariable("database", "CurrentDatabase");]]></method><property name="odaDriverClass">oracle.jdbc.driver.OracleDriver</property><property name="odaURL">jdbc:oracle:thin:
@finland
:1521:findb</property><property name="odaUser">LUSAKA_CUR_OWNR</property><encrypted-property name="odaPassword" encryptionID="base64">QWJjMTIzNDU=</encrypted-property></oda-data-source></data-sources>
please help me out.
appform
Hi All,
I want to place a datasource,dataset and a parameter in library and want to use this library in other reports.
I don't know anything about library means how to create a library and how to add to other reports.
Please give me a example file for the same purpose.I am using Eclipse BIRT Designer Version 2.6.3.
Thanks
mwilliams
All you need to do is do it just like creating a report design. Go to new, only choose library. Now, you create dataSources, dataSets and elements, just like you would with your report. To use the library, open up your report and go to the outline view. Here, you'll right click on the library section and choose to use a library. You'll pick your library from the directory and accept. Now, you add the elements to your report, from your library. To do this, you open the resource explorer view and find your library. When you expand your library, you'll find the dataSources, dataSets, etc. that you created. You can right click on them, in the explorer and choose to use them in your report or you can drag them from the resource explorer down to the outline and drop them in the appropriate section of your report.
Hope this helps. Let me know.