Discussions
-
Oddly page break
<p>I use the Birt runtime 4.3.1 on a tomcat6 server to prepare my reports. For this I use the URL-API of the Birt runtime to create the documents in PDF (or other formats).</p><p> </p><p>These documents have page breaks in places where a page break would not be really necessary.</p><p>When I look at the result in the…
-
Send Params to POJO
<p>How to send parameters to a POJO source? I successfully connected to a JAR file with POJO and made a data set with the columns I need. However the set method in my POJO requires me to send in parameters to know what to do. I added all the parameters I need in the Edit Data Set pop up under the parameters section but now…
-
how to insert the drl links into other application database table column
Hi Experts, We have a requirement ,generate drl link to access the webtop folders and insert the same link into other application database table column. If Anybody knows please provide the solution to achieve this functionality. Thanks&Regards Srinivasu Manku
-
Chart Report
<p>Hi ,</p><p> </p><p>I have a question on Chart Report in Birt. Have to show data based on Months as well as Biweekly( on X axis) on the same report. Is there anyway we can achieve this. Please provide inputs. Thanks in advance.</p>
-
Chart Report
<p>Hi ,</p><p> </p><p>I have a question on Chart Report in Birt. Have to show data based on Months as well as Biweekly( on X axis) on the same report. Is there anyway we can acieve this. Please provide the inputs. Thanks in adavance.</p>
-
BIRT ODA Extension Point Tutorial
This article provides a quick tutorial on the BIRT ODA Framework and provides a tutorial and example on building a ODA that uses BIRTs Report Document format for reports.<br /> <br /> As an added bonus, it will also show how to use the Data Extraction Task to retrieve data from a report document. So double the awesomeness…
-
CASCADING PARAMETERS WITH ALL VALUES
Everything you need to get going is in the zip file
-
Fonts Config on linux
Hi <br /> <br /> Recently I had this problem: although my font Verdana is installed on the system (Ubuntu12.04) and my reports in Verdana font too, the PDF file appear in Times New Roman, so hopefully this topic will help.<br /> <br /> Please following this link for my solution…
-
Message "CONTINUES NEXT PAGE" automatically
Hi,<br /> this tip purpose as controlling the message: "Continued on next page" in documents like Invoice.<br /> In my example I have a DATASET (Name: Lines) which is a collection in Java that don't know how many rows will iterate the document, to better control the message do as follows:<br /> Method : DATASET > Script >…
-
PDF rendering diferent fonts
Hi, <br /> <br /> recently I had this problem: although my font Verdana is installed on the system (Ubuntu12.04) and my reports in Verdana font too, the PDF file appear in Times New Roman, after a google search I saw that others users had the same problem...so I decided create this topic hoping to help..<br /> <br />…
-
Workaround for Using an External JS Resource in Parameter Script Methods
To access a js function defined in your report's resources, in your parameter scripts, you can use a workaround like this to read the js file, manually.importPackage(Packages.java.io);importPackage(Packages.java.lang);ist = reportContext.getResource("myJSFile.js").openStream();myjsstring="";bytesa = new…
-
Using linux environment variables
A lot of Linux users have grown to love environment variables, they make coding faster with less keystrokes. The following code will show you how to call $HOME and display it in lblPath.importPackage(Packages.java.lang);temp = System.getenv("HOME");reportContext.getDesignHandle().findElement("lblPath").text = temp <br />…
-
Removing Blank Line in Multi-select Cascading Parameters
I realize the title appears to be extremely specific, but this is a common request by my clients. I strongly recommend patching this on your BIRT server, as it will take less than 10 minutes. (I promise!) I have not started using BIRT 3.7.2, but I assume most of this code remains unchanged.<br /> <br /> The issue is that…
-
Displaying Parameter Selections in Report
This short script grabs all of your report paramters and steps through them, adding their values to an output string. The script also checks if the parameter is multi-select or not, so that it knows whether it has to step through an object to get the values. I helped someone figure this out in Actuate 11, which at the time…
-
Hiding a chart series based on dataset content
One report I was designing needed to hide a series if it did not contain any data greater than 0. In the case of this report, the chart contained 3 series, and the third one needed this special ability to disappear if it was empty.<br /> To accomplish this, I added the following script to the chart:hasTarget = false;<br />…
-
Designing diptych reports with 2 languages
Follow the link to read the posthttp://www.birt-exchange.org/forum/index.php/blog/47/entry-441-generate-report-with-twin-pages-in-different-language/
-
Run Maximo BIRT import/export tools on local workstation
The article shows the background and steps on how to select and move the BIRT import/export tools from a Maximo Administration Workstation to a local workstation. This allows a Report Writer to use their local workstation for the command line tools to import and/or export reports from the Maximo database. Once completed, a…
-
Enabling report users to specify null values with dynamic drop down list
Per 'BIRT A Field Guide" Third Edition, page 341; All that is required for a user to be able to search for null is for the report developer (me) to un-check 'is required' when creating the parameter. In practice it is not that simple.<br /> <br /> Examples are links to the downloads in…