Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Sharing a dataDesign object across reports
John F
<p>I am new to BIRT / Actuate. Just licensed iHub3 and am playing around.</p><p> </p><p>I figured out how to create a report w data source, data sets - info objects, etc.</p><p> </p><p>What I cannot figure out how to do is share a single .datadesign object across reports.</p><p> </p><p>Here's what I have done:</p><ul class='bbc'><li>I created a project called Platform. </li><li>Within Platform i have created a .datadesign object which is currently stored in the 'Report Designs' folder and the Report Designs folder.. I made a copy.</li><li>I then published the resource to a Data Objects folder by right clicking on it, selecting Publish, creating a server profile, checking the publish files box and checking the .datadesign file and pressing Publish.</li><li>When I create a new report, I would expect to go into the Resources tab under Property Editor and Add File and select the .datadesign file.. but it's not there. </li></ul><p>How do I access existing shareable objects in a new report?</p><p> </p><p>Thanks - John</p>
Find more posts tagged with
Comments
johnw
<p>2 ways.</p><p> </p><p>1) Use a library. </p><p>2) Use a template.</p><p> </p><p>I would actually use both. Create a library with your Data Object. Then create a template that instances the libraries data object. Publish the template. Then use that template every time you create a new report. It will automatically have the data object in it. Then if you make a change, just change the library, or change the data object itself, and every report that uses it will update accordingly.</p><p> </p><p>For more information, see the following links:</p><p><a data-ipb='nomediaparse' href='
http://www.packtpub.com/article/use-templates-report-birt'>http://www.packtpub.com/article/use-templates-report-birt</a></p><p><a
data-ipb='nomediaparse' href='
http://www.linuxtopia.org/online_books/eclipse_documentation/eclipse_birt_report_guide/topic/org.eclipse.birt.doc/birt/eclipse_birt_report_SharedWorking.19.1.html'>http://www.linuxtopia.org/online_books/eclipse_documentation/eclipse_birt_report_guide/topic/org.eclipse.birt.doc/birt/eclipse_birt_report_SharedWorking.19.1.html</a></p><p><a
data-ipb='nomediaparse' href='
http://www.theserverside.com/news/1364376/Using-Eclipse-BIRT-Report-Libraries-and-Templates'>http://www.theserverside.com/news/1364376/Using-Eclipse-BIRT-Report-Libraries-and-Templates</a></p>
;
John F
<p>Thanks John - very helpful. </p><p> </p><p>I see there's a lot to learn about templates with respect to formatting as well. Appreciate the help!</p><p> </p><p>- John</p>
csetzkorn
<p>Hi all,</p>
<p> </p>
<p>I have tried both options but did not get any working. This is what I did:</p>
<p> </p>
<p>(1) I created a template with a Sql server JDBC data source</p>
<p>(2) Registered Template with New Report Wizard</p>
<p>(3) Create report from this template</p>
<p>(4) Created dataset in this report and viewed data in table</p>
<p>(5) Changed database name in connection string of template. Unfortunately, the change was not propagated (test scenario 2 databases with same schema and one table - each table table contains different data to see if database name has changed).</p>
<p> </p>
<p>Can anyone help? Thanks.</p>
<p> </p>
<p>Christian </p>
JFreeman
<p>The data source information needs to come from a report library and updated in a report library for changes to happen to the reports. The template is only used when initially creating the report. Changes to a template will not effect reports already created from the template.</p>
<p> </p>
<p>As John indicated, you will want to create a report library with the data source information and then configured the report template to use the data source from the report library. This means reports created from the template will use the report library for their data source by default then changes can be made in the report library.</p>