Home
Analytics
How to save BIRT report as HTML format
shir
<p>Hi,</p><p> </p><p>I am using BIRT RCP report designed version 4.3.1</p><p> </p><p>While generating a report we have option to view the report in multiple formats</p><p> </p><p>Run > View report >AsDOC/AsHTML/As PDF, etc.......</p><p> </p><p>When we view the report in say, DOC, PDF, XLS, we can save the file in respective formats.</p><p> </p><p>However i was not able to save the file when previewing in HTML format.</p><p> </p><p>Is there a way to save a BIRT report in HTML format.</p><p> </p><p>I have a crosstab in the report which when rendered in HTML, enables me to do a horizontal scroll to view all the data in the report, hence i need the report to be saved in HTML format, which i will ultimately mail to some recepients.</p><p> </p><p>Please suggest.</p><p> </p>
Find more posts tagged with
Comments
micajblock
<p>Use the browser 'Save as'</p>
actuser9
<p>Hi,</p><p> </p><p>Any ideas as to how to enable Save as in BIRT Designer Professional iHub3?</p><p> </p><p>Edited ivconfig.xml file but no luck.</p><p> </p><p>Thanks,</p><p>UY</p>
micajblock
<p>I am not sure this is possible in the designer? Anything you do in IV can be done in the designer. What is the use case? </p>
actuser9
<p>Thank you. Wish this feature was there from BD Pro
</p><p> </p><p>Use case:</p><p>A report document is generated from a driver report(using before Factory code) based on a report library. This report document has to be saved to the report design to check for filters applied or anything edited on the report document. This could be done only from iHub3. Every time the report design has to be generated on the server and downloaded to the BD Pro for validating. Saving report designs from the report document in BD Pro in this case would have been helpful!</p><p> </p><p>The purpose to save the edited report document to a report design and eventually use this report design for scheduling purposes.</p><p> </p><p>Please let me know if you know of any other ways to do it.</p>
micajblock
<p>I am not sure I understand the use case, but apparently this is possible. <span style="font-size:11pt;font-family:calibri, sans-serif;color:rgb(31,73,125);">The role is controlled by the DEFAULT_WORKGROUP_FUNCTIONALITY_ROLE context-param in the web.xml. OOTB for BD Pro this is set to Active Portal Intermediate. Change iv_config.xml for the Active Portal Intermediate role and set SaveDesign ( and SaveDocument if needed) to true. You will need to restart BD Pro.</span></p><p> </p><p><span style="font-size:11pt;font-family:calibri, sans-serif;color:rgb(31,73,125);">Thanks Rob Murphy for this info.</span></p>
actuser9
<p>Hi,</p><p> </p><p>Thanks for the information. I have tested changing the option and save as option is not enabled in the report.</p><p>
micajblock
<p>Works for me. Did you enable interactivity? Menu item appear once you enable IV (it is an IV functionality).</p>
actuser9
<p>Awesome! Works for me after enabling the interactivity. Can we enable the interactivity by default? And did you see where these files are getting saved? It shows Repository with Home and Public Folders. Tried saving the report design and searched with no luck.</p>
actuser9
<p>Looks like the report can be saved to this location. Can this location be reset to something else?</p><p> </p><blockquote class="ipsBlockquote"><p> </p><p>eclipsepluginscom.actuate.birt.report.viewer_23.0.0.v20131216iportalWEB-INFrepositoryPublic</p></blockquote>
micajblock
<p>to enable interactivity by default. Use something like this in the onContentUpdate event of the root of the report (client scripts):</p><p> </p><div><pre class="_prettyXprint">if (!this.getViewer().isInteractive()) {// Get existing viewer UI Optionsvar uiOptions = this.getViewer().getUIOptions();// Remove ability for user to change interactivity optionsuiOptions.enableEditReport(false);// Set the modified UI Options back into the Viewerthis.getViewer().setUIOptions(uiOptions);// Enable interactivitythis.getViewer().enableIV();}</pre><p>As to your other question you can try and edit the web.xml in the iportalWEB-INF directory and change this to a full path</p><p> </p><div><pre class="_prettyXprint"><context-param><param-name>STANDALONE_REPOSITORY_PATH</param-name><param-value>WEB-INF/repository</param-value></context-param></pre></div><div> </div></div>