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)
BIRT viewer
Haris
Hi,
I want to have tribix xls emitter and birt default xls emitter in the same birt viewer.
eg:if you click on the export menu in the list box i should have export to pdf,word,postscript,ppt,excel(default),excel(tribix)..
how to configure this?is there something in viewer.properties file.can you help me on this topic?
Find more posts tagged with
Comments
mwilliams
I haven't done this before, so I'm not sure, but my initial guess would be that the emitter jar contains the name somewhere, so you may have to un-jar the emitter plugins and find where this is and then re-jar them. Let me know if you find it.
Haris
Thanks for your response<br />
<br />
<br />
I have done this...<br />
<br />
<br />
Add the below two lines in your <strong class='bbc'>viewer.properties file</strong> under birtviewer/WEB-INF<br />
<br />
viewer.extension.xlsx=<strong class='bbc'>xlsx</strong><br />
viewer.label.xlsx=TRIBIX_Excel<br />
<br />
And do changes in your downloaded tribix - org.uguess.birt.report.engine.emitter.xls_2.5.2.201107181644.jar<br />
<br />
unpack it and edit the file <strong class='bbc'>plugin.xml</strong><br />
under plugin.xml change the format attribute to your wish(i have changed it to xlsx)<br />
<br />
<emitter<br />
class="org.uguess.birt.report.engine.emitter.xls.XlsEmitter"<br />
format="<strong class='bbc'>xlsx</strong>"<br />
id="org.uguess.birt.report.engine.emitter.xls"<br />
mimeType="application/vnd.ms-excel"<br />
pagination="paper-size-pagination"/><br />
repack it...<br />
it should work for you..now you can put both default and tribix emitter in plugins folder
Haris
hi williams,
i have configured it in the viewer,it is displayed in the export format listbox....but i dont want to display (only display but i should be configured in the viewer)that in the export format listbox.because i am using the tribix emitter from my application.
how to block a particular value in export format listbox in viewer?
mwilliams
You want to remove certain options from the export box? Is this for all reports or is it on a case by case basis?
BTW, the post above where you tell how you changed the name of the emitter would be a great devShare post. You'd help others with this same inquiry and you'd be entered in the devShare contributor of the month contest!
http://www.birt-exchange.org/org/wiki/index.php?title=DevShare_Contributor_of_the_Month_Contest