Passing java object to BIRT Report - export

I have a requirement in BIRT report.
Currently I have HTML table. It has list of values. I need to generate the report using BIRT. Export all the HTML data in to excel format. I need to generate the report using BIRT.
I am sending the list of rows as list object and send to server side. How can i iterate the data and generate the report using BIRT? Can i send this list of object in to one parameter and send to BIRT report? Can any one help this?

You need to use Java Objects (POJO’s) as datasource. Please see this tutorial

Related

SSRS - How to export data to a single excel spreadsheet when using report pagination?

I have a 2012 SSRS report that process thousands of records, it's a paginated report via an SSRS parameter.
When we export the report, the data is being sent to multiple spreadsheets (due to the pagination).
Is there any way to avoid this? To keep pagination but export the data to a single spreadsheet?
Thanks
There are two different kind of "pages" when viewing a report. There are natural breaks based on the page size and then there are hard page breaks that can be set to occur between objects or groups.
With hard page breaks it's all or nothing. The sheets created during export are a direct reflection of the page breaks in the report.
However, if you simply let the report create pages during viewing and don't specify any actual page breaks, all the data will export to one sheet!
Another hack way of doing this is.. have another version of the same report without the group pagination. Hide this report. Have a text box on your original report.. call it "Export to Excel" or something like that.. under actions for the textbox.. select go to URL. and in there put in your report server path to your hidden report.. including any parameters in your original report.
The link would look something like this - Note the Command at the end of the URL:
"http://yoursite/ReportServer/Pages/Folder.aspx/Production%20Reports/?%2fProduction+Reports%2fYOUR_HIDDEN_Report"&"&parameter1=" & Parameters!parameter1.value &"&parameter2="& Parameters!parameter2.value,& "&rs:Command=Render&rs:Format=EXCEL"
You have to play around with the link to get the correct link.. Once you have the correct link.. run the original report report and click on the "Export to Excel" Button / text box .. You will now see a prompt to download the Excel file..
You should not have a as a single sheet.. done.

A similar tool of odk but with search and retrieve data features

We are working on survey's using ODK, by creating xls files and transform it into forms, and then we collect data offline.
When employees comeback from the field, they upload data.
What we need now is that they work online from the field, so they can search a specific ID or name, and see the data existing before adding new data.
What I mean is that we need to let them search the database by specific field, and that is not available in odk.
We upload data to ONA then the data are cleaned on the laptop and the searches are done on the laptop too.
Is there a tool that do that process ?
As far as I know, the closest you can get with existing tools is this: https://help.ona.io/faq/filtered-datasets
If you use Enketo (webforms), when the source dataset is updated (via new submissions) the webform will also be automatically updated (may require page refresh and there will be a delay). You could use both offline-capable or online-only webforms with this reference to external data and query it with select_one_from_file, select_multiple_from_file (in XLSForm terminology), or with pulldata, or with regular XPath.

creating a custom database in adobe business catalyst?

I want to create a custom database within Adobe Business Catalyst. I have an Excel Spreadsheet with 1000's of rows of data that I want to upload.
Does anyone know how I can do this or where I can find instructions on how to do this as I cant seem to find anything anywhere???
What you need to use is the Web Apps module. You haven't told us what you want to do with this data but I assume that you simply want to render it on the page. Web apps will allow you to crate a custom field for every column in your spreadsheet and import that spreadsheet into it. It has a list view which creates an automatic link to a detail view. See the following link for more info -
http://kb.worldsecuresystems.com/kb/add-custom-content-using-web.html

SSRS- How can I eliminate page breaks within an email body?

I have several SSRS '08 reports that look great when viewed as a web page or exported to the various formats. Recently, someone wanted a data driven subscription to go out for the report. No prob. They were adamant that they did not want the report attached to the email or to link to the report from the email. No prob. Unfortunately, the email body containing the report contents has page breaks at regular intervals. Problem.
Is there a way to conditionally have page breaks, so that I can prevent them from showing up in the email?
Thanks for any tips. (I googled for a solution, but if there is one, I didn't use the right search terms.)
-Kevin
The MHTML rendering extension (probably the one you're using if you're embedding reports in emails) supports the disabling of soft page breaks using the "interactive height" report property.
Have a peek at this question for more details:
Single page display in HTML rendering : SSRS
Actually this is a question related to this: They were adamant that they did not want the report attached to the email or to link to the report from the email.
How do I do this? How do I include the report in the email body?
Can this be done in SSRS 2005?

Setting datasource on a Reporting Service report

i have a drop down list contains the name of reports and each report have a value (1,2,3...) and i have a popup window that appears when user click on view report button
this popup is a web page that contains the report viewer ,,in cs of this popup page i have a swtich that takes int which is the value of the report eg.if i want to display the first report so i chose the first one in the drop down list and the selected value is 1 and it is passed to the page that contains the report viewer in a session variable and pass it to switch then case 1;........break
so i want to know how to create an object of type report and bind it to the report viewer in each case ,,i have made something like that but i used crystal reports and crystal report viewer which has a
CrystalReportViewer1.ReportSource = rpt;
CrystalReportViewer1.DataBind();
and i have a report object
rpt.SetDataSource(dt);
ReportDocument rpt;
but i cant do anything like that when i used reporting service
so please help
thanks
You are talking about the Microsoft SQL Server Reporting Services (SSRS), right?
The approach is a bit different than with Crystal - basically, SSRS is by default a server-based reporting engine, e.g. your application (Winforms or ASP.NET or whatever it is) doesn't actually render the report locally, and also it doesn't supply the data locally.
In SSRS, this is typically handled by the report itself and on the server. You typically only simply show the report (possibly configured with some report parameters), but all in all, the Reporting server will grab the data, format it, render the report, and your application really only shows the output in the end.
If you want to render a SSRS report locally, you need to have a *.rdlc file - do you have this, are you familiar with that option?
If you do - once you're into locally rendering the report, of course, you will also have to provide the data locally. If you use the ASP.NET or Winforms ReportViewer control, you can do this something like this:
ReportViewer reportViewer = new ReportViewer();
reportViewer.ProcessingMode = ProcessingMode.Local;
reportViewer.LocalReport.ReportPath = "Report1.rdlc"; // supply path to the RDLC file
reportViewer.LocalReport.DataSources.Add(.........)
reportViewer.RefreshReport();
Basically, you need to tell the ReportViewer control that you're dealing with local rendering, and then you need to give it the path to the RDLC file, and you can add as many data sources to the ReportViewer.LocalReport collection as you need to have for your report.
Does that help at all? Otherwise, please clarify your question a bit more.
See a VB.NET sample of retrieving data for a local report from a web service here.
I tried doing this a while ago. I gave up because it wasn't that important, but my idea was this:
Use web service to create a new datasource
Use the web service to change the data source on the report
Render the report in ReportViewer
Switch DataSource back to original using web service.
My knowledge of ssrs is limited, but might be worth a shot.

Resources