Add Multiple Data Sets/Sources to BIRT Report - dataset

I'm currently working with BIRT and I am having problems trying to create a report with multiple data sources and data sets.
For example, let's say I have a wizard. This wizard allows the user to graphically select data sources in a list. After selecting a few data sources and finishing the wizard, I would like the report to be rendered with the selected data sources.
I have tried a few thing such as adding data sources/sets to an ElementFactory object, but that does not seem to work.
Does anyone know of where I can find documentation on this sort of thing? Possibly some pointers?
Thanks.

Related

Changing a Dataset for a visual in AWS Quick Sight

I am new to Quicksight and trying to change the dataset for a cloned visual.
I have created one analysis in AWS Quicksight which contains 6 different datasets from the same Datasource. See below:
There are two tabs (report 1 / report 2) in the analysis. I have cloned the below visual with Dataset: "Arora Waterfalls Website..." from Report 2 to Report 1.
But when I try to change the dataset from "Arora Waterfalls Website..." to "Arora All Webinar..." for the cloned visual in Report 1, the visual gets unselected and when I click on it shows the same dataset again: "Arora - Waterfalls Website...":
To conclude, is there any way that we can change the dataset for a cloned visual in QuickSight?
You cannot change a dataset for a visual after it has been added to the Analysis.
You will need to select the dataset you want to use, add a new visual and rebuild the chart as required.
A second suggestion: looking at your data sets, you seem to be pulling in different views/tables into multiple different datasets from one data source. If possible I recommend combining the different tables into one dataset, joining them together during ingestion. This will give you more flexibility duplicating views. Working with multiple datasets has number of limitations. This will help avoid the problem you are having trying to duplicate a visual.

Adding Data Source to SSRS Report

I am writing a report and instead of using connection to server, I was given data source to use. I want to know how to add the data source to the report.
Edited: I have tried to add through the shared data sets, but I have been asked to deploy the developed report first so, I am little confused

How to create an RDL using the report class generated from the RDL schema

I have a project where we are creating a custom report generator for SSRS 2008R2. This project allows the user to select fields from a database and then create and store the RDL on the report server.
For some of the initial proof of concept attempts we have been using XMLText writer to generate the XML file. While this works this seems to be very cumbersome and I don't have a lot of confidence in how the schema is being generated as being 100% bulletproof. A second attempt is actually using the generated class from the RDL as my object model. Where I am stuck here is there is almost zero documentation on how to use this object. MSDN has a tutorial on updating the model but it very basic in concept.
I'm looking for some guidance on the preferred approach.
1) continue with the XML generation
2) use the RDL object to create the reports
3) I have also considered using the SSRS endpoint where a dummy report is created and stored on the server then using the RDL object model to update the report with the necessary fields, groups etc.
I haven't tested the third option but it seems as this would minimize the amount of coding for the creation of the document.
Thanks for any suggestions or ideas
I just built a program that creates an SSRS report from a report template and a stored procedure.
I am using the RDLObjectModel to create the report. And RDLSerializer to allow saving the report to a file or the report server. I first load a report template from our report server through the SSRS web service to deserialize the server report into and RDLObjectModel. I then derive parameters for the report fields, and derive fields from the stored procedure to make a report dataset.
The problem that I ran into is that I wasn't able to serialize the report object to be able to save it to the server or to a file because in RDL2008 RDLSerializer is private. Then I came across an article that saved me a lot of headaches. http://ucodia.fr/2011/10/advanced-reporting-services-part2-rdl-serializer/
This is a much better approach that using XMLTextWriter. This should provide you enough to get things rolling.
I ran into the same problem where I was using RdlObjectModel to create my report object but I was unable to serialize it. There is a way to overcome that issue where you can still get instance of the RdlSerializer and call serialize method using reflection
You can find the implementation at the following link

Exporting MS-Access form results to Excel?

I'm kind of new to Access. I've got some experience working with integrating MySQL and Oracle with PHP to create web-based database search engines, but I am having difficulty understanding certain concepts with Access.
I've got a small database with around 200 entries with 20 fields each. I've written a form to search it by using VBA to run an SQL query against the database and displays the results in datasheet mode to a different form (is this the standard way of doing this, or is there a better way?)
I want to be able to add a button to export those results to excel (or csv or tab or whatever, it doesn't really matter). However, I'm not sure how to do this with the form results. Its easy with an entire database, but I can't find documentation on how to do this. Is there a way to do this? Or am I doing this wrong?
If at all required, I can provide more details.
You said "I've written a form to search it by using VBA to run an SQL query against the database and displays the results in datasheet mode to a different form".
If you mean an actual form in datasheet view, you can export that form's data to Excel with the DoCmd.OutputTo method.
DoCmd.OutputTo acOutputForm, "frmResults", acFormatXLS, _
"C:\SomeFolder\ExportedResults.xls"
However, if you're opening a query in datasheet view, rather than an actual form, you can export the query's result set.
DoCmd.OutputTo acOutputQuery, "qryResults", acFormatXLS, _
"C:\SomeFolder\ExportedResults.xls"
You can choose a different OutputFormat instead of Excel if you wish. Look at Access' Help topic for the OutputTo method to see the available choices.

Auto populating data into an existing Excel template

I was given an Excel template and have to automate filling it.
It is supposed to be uploaded every month into the grand central DB of our company. Grand central accepts nothing other than an Excel file with that template.
I tried reproducing the same using SSRS but it looks like SSRS has no control over rendering the looks and data in Excel (it keeps hiding columns and rows which is not acceptable). I have created a SQL connection on the Excel to get the stored procedure data into Excel.
Now I have to make sure the data goes into the template into appropriate fields. I think it needs groupings and page breaks also.
Please help..
You're on the right track with dumping SSRS as a way to export into the template. I've also found that the Excel rendering extension in SSRS does a lot of hiding and merging cells with certain report designs.
You will probably end up needing to write a script in your language of choice to load the data into appropriate cells on the template.
Here are some Powershell articles on Excel automation:
http://blogs.technet.com/b/heyscriptingguy/archive/2006/09/08/how-can-i-use-windows-powershell-to-automate-microsoft-excel.aspx
http://winpowershell.blogspot.com/2007/03/powershell-and-excel-com-object.html
Also take a look at Perl and the Win32::OLE module:
https://metacpan.org/pod/Win32::OLE
http://www.perlmonks.org/?node_id=153486

Resources