Jaspersoft Server pro : How to create a report online from a domain without selecting an Ad Hoc View? - jasperserver

I'm downloading JasperReports Server pro 5, install it.
Everything's ok.
First, I create a datasource, the link is ok. Then I create a domain.
And finally I want to create a report from scratch but the only thing I can do is selecting an Ad Hoc.
I want to create a report from scratch, not to select an Ad Hoc View.
Could you tell me how to do it or what I do wrong ?
Thank you.

You can do this in iReport.
1) Create a Repository Connection to the jasperserver where domain is hosted
2) Go to file menu , Click on New , Select Domain Report from left panel
3) Select the jasperserver connection which you created in step 1
4) Select the Domain which you want to use to create report Click next
5) Go to Window menu on Top , select Domain window .Domain window will appear on lower left
corner . It will be having all the fields exposed by domain .
6) Right click on any Field and then select Add (to report) . It will be added in fields
section. Select all fields one by one.
7) Now you have all the fields # your disposal . You can just drag drop couple of them in
detail band and click on preview.
8) You can publish this report by clicking publish button in Domain window. After you
publish , you can access this report in jasperserver UI.

You should select the menu Create -> Ad Hoc View
That's the starting point to "create a report from scratch". It will let you select the data that you want. Sometimes this is the end (when all you wanted to do was to analyze the data). But in your case you will probably proceed to save a report after you've gotten the data you want. Then you'll have a traditional report that can schedule or use for whatever purposes you want.

Related

Using Hyperlink in Jaspersoft Studio

I am very much new to Jaspersoft studio. I am trying to create Master Detail kind of report.
Master table does contain details about DEPARTMENT details.
Child table does contain details about departmentwise EMPLOYEES.
DEPARTMENT(DEPTNO, DEPT_NAME, LOC)
EMPLOYEE(EMPNO, ENAME, SALARY, DEPTNO)
Now what I want to do is, when I click on DEPT_NAME hyperlink in Master table, the corresponding employees should be shown in child table like shown in the below image.
I could not get proper results in the Google search.
I am following one document to learn about Jaspersoft Studio (downloaded from Jaspersoft official website).
But, there is NOT much clear information about the procedure how to do.
For examplef, it is written like
Click the button next to Hyperlink When Expression to create
. But what expression to write is my doubt!
AND ALSO,
Can anybody please tell me the location for best tutorials! For example, explanation in this this link is so nice. But, I want to know where it is originated from!
Hence, anybody please help me.
The Hyperlink When Expression is used if you want the hyperlink to appear conditionally. If the expression evaluates to true, then the link is displayed. In your case, I believe you want every instance of the Dept Name field to display a hyperlink, so you would not put any expression in there.
As for making a child table appear, I don't think you can do that. You have two choices:
You can make the link a ReportExecution link. When the user clicks it, a new report is run that displays the child table. But it won't appear in the same document.
You can make the link a LocalAnchor or LocalPage link. In this case, you would already have to have included all the child tables on the report, and the link would simply navigate the user to the correct place in the document.
Documentation on JasperSoft hyperlinks can be found here.
If you are using older version of jasper you will get hyperlink option when you right click on field on which you are giving hyperlink. For later version you will get this option in right hand side properties section while clicking on that particular text field.
Hyperlink section choose blank if you want to open drill down report in new tab or self to open it on same page.
Choose Report Execution.
In parameter section create a parameter
name=_report and value="path of drill report"
Create another parameter with department name and in value "field department"
Thanks.This will work.

Adding buttons to a FileMaker portal to jump to the related records

I've just started in FM 14. I have a client table and a project table. When I look at a client entry I have a portal that shows me the titles of the projects they have commissioned. I'd like to be able to click on one of the projects in that portal list and be taken to the layout that contains all of the other fields in that project record. Can this be done? Is this enough information?
Yes. Set the button action as a script step "Go to Related Record". In this script step, set the table as "projects" and select the layout you would like to go.
I would stay away from GoToRelatedRecord. I usually just grab the ID from the item in the portal, then search for that item on a new layout, then do whatever I planned on doing. It's safer. With GoToRelatedRecord you can never really control what happens.

Pentaho Report Designer for MongoDB

I just downloaded Pentaho Business Analytics to try its reporting features on a Windows 8 machine. Currently I'm trying to use Report Designer to create a report for a MongoDB datasource, so following the guidelines from the book, I'm using these steps:
Select the Data Tab.
Right Click on the Data Sets item.
Select MongoDB from the menu.
Click on the plus button to create a query
And that is the point where things differ from the book, because I get this form:
According to the book, I should be able to enter a host name, port, and have the option to select a collection, but the form I get doesn't allow me that. Does anyone face this issue, or know how to fix it?
The options are hidden; stretch the window!

crystal report cross tab disappear when edit the procedure name

I have existing crystal report which is using stored procedure to bind the report field.
NOw, i need to change this procedure to another procedure version where some extra fields are existed.
So, i have change it from "Edit Command" by clicking at alias.
ProbleM: it does not show the "Cross tab" existed in report and all other things are fine.
Please share me what could be the cause.
Thanks
Normally if you make any changes to the datasource or update the datasource, Cross tab will be resetted and all its formatting will be lost and cross may also disappear.
Check whether the fields used in cross tab still exists after updation of the datasource. If those are missing then also there is possibility of losing the cross tab.
In this case you need to recreate the cross tab.

HowTo Bind Crystal Reports to Entity Framework?

How can one bind Crystal Reports to Entity Framework Entities?
I did find no workaround yet.
(And I have not enough points yet to vote on existing questions)
As for me, I read below link
http://aspalliance.com/2049_Use_LINQ_to_Retrieve_Data_for_Your_Crystal_Reports.2
It tell me how to link EntityFramework and Crystal Report.
As for code behind ....
protected void Page_Load(object sender, EventArgs e)
{
Report.CrystalReport1 _Rpt = new Report.CrystalReport1();
List<Test> list_Test = new List<Test>();
using (tempdbEntities _tempdbEntities = new tempdbEntities()) {
list_Test = _tempdbEntities.Tests.ToList();
}
_Rpt.SetDataSource(list_Test);
CrystalReportViewer1.ReportSource = _Rpt;
CrystalReportViewer1.RefreshReport();
}
Create the Crystal Report
You can now create the report using the XSD file.
Right click on the project and select AddàNew Item…
Select "Reporting" from the list of Visual C# templates and select the Crystal Reports template.
Change the name of the file to UserAccountReport.rpt and click the Add button.
The Crystal Reports Gallery dialog will appear. Select "As a Blank Report" and click the OK button.
In the Field Explorer window, right click on the Database Fields node and select "Database Expert…" from the pop-up menu.
The Database Expert dialog should appear.
Click the plus sign next to "Create New Connection"
Click the plus sign next to "ADO.NET (XML)"
The ADO.NET (XML) dialog should appear. Click on the button with three dots to browse to the UserAccountSchema.xsd file you created in the step above.
Click the Finish button.
You should see the UserAccountSchema under the ADO.NET (XML) node. Click on this node and then click the ">" button to move this to the Selected Tables list.
Not sure about your question.
I know this doesn't help you right now (sorry)...
But just thought you might find it interesting that one of the long term goals of the EF and the Sql Reporting Services teams is to allow customers to use Reporting Services against an Entity Framework model (or EDM).