Menu
  • HOME
  • TAGS

Restring user to view only specific reports?

jasperserver

The difference between Execute Only and Read Only is that those resources which have Execute Only cannot be 'seen' by the user but can be executed. This becomes relevant when reports that the user can see are dependent on other resources in the repository eg datasources, domains, images etc.. ....

How to use object of a class which contain object of another class as datasource in jasper report?

jasper-reports,jasperserver,jaspersoft-studio

You can try something like this: Declare only the instances variables of the Person class as jasper reports fields: one field will be "name" of type java.lang.String and another field will be "address" of type your.package.Address (that's it). Then, if you want to print address specific information in the report,...

Jasper server reportUnitUri cause 404 error

rest,jasperserver

ReportUnitUri = /reports/<folder name>/<Resource ID>. To get Resource ID select report and click edit button. you get

Invalid content was found starting with element 'hc:html'

jasper-reports,ireport,jasperserver

Try to restart the jasper services after copying the jasperreports-htmlcomponent-5.0.1.jar \Jaspersoft\iReport-5.1.0\ireport\modules\ext\ To :- JasprReportServer\apache-tomcat\Web-Inf\lib\ ...

d3 with Highchart Jasper Export Issue using Custom Visualization Component(CVC)

javascript,d3.js,highcharts,jasperserver,jaspersoft-studio

We've to have Phantom.js configured to all the exports supported by JasperServer.

Force Jasper HTML report to wrap text by breaking mid word

java,jasper-reports,jasperserver,jaspersoft-studio

From JasperReport configuration reference, it seams you have to set net.sf.jasperreports.text.save.line.breaks = true so the HTML exporter explicitly add line break to the report....

how to log mysql queries fired in jasper reports server?

jasper-reports,jasperserver,jaspersoft-studio

instead of jasper report queries logging i used SET GLOBAL general_log = 'ON' to log mysql queries fired which is given by jasper report. we should run that command in mysql terminal. and then in /var/lib/mysql(mine ubuntu 14) you will see .log file where you can check for queries fired

Jaspersoft - Can end user write data back to database?

sql,sql-server,jasper-reports,jasperserver,jaspersoft-studio

In general the answer to this is no - it's a reporting tool. If you have Jasperserver embedded into your web app you could have an html form which allows writing to the db and you may be able to link this to a report manually. If you really wanted...

JAVA_HOME not defined correctly

java,jasper-reports,jasperserver,java-home

You say the file /opt/jasperreports-server-cp-5.0.0/apache-tomcat/java/bin/java exists, right ? Can you execute it ? Can it execute standard jar file ?...

Jasper server rest service returns unauthorized

c#,jasper-reports,httpclient,jasperserver

You could use a CookieContainer to hold the session cookie, rather than setting a header. See How do I set a cookie on HttpClient's HttpRequestMessage for an example....

Remote XML Datasource in JasperReports Server

jasper-reports,datasource,jasperserver

I had the same problem. You probably have to upload the file directly to the directory on the server, rather than through the browser.

Access the reports on Jasper Server through URLs embedded in JSP of my application

java,jsp,jasper-reports,jstl,jasperserver

Try this maybe. <c:import var="data" url="http://localhost:8080/jasperserver/flow.html?_flowId=viewReportFlow&standAlone=true&_flowId=viewReportFlow&ParentFolderUri=%2Freports%2FGraphD&reportUnit=%2Freports%2FGraphD%2FMainReport1&j_username=jasperadmin&j_password=jasperadmin"/> <c:out value="${data}"/>

OSX Jaspersoft Studio SSL Handshake

ssl-certificate,jasperserver

My proposed solution is the best answer until now. Using this website http://miteff.com/install-cert download the IntallCert java application and execute it against the server. java InstallCert server.domain.com This will connect to your SSL website and create the certificate file. Just press Enter when asked for more data. It will create...

Retrieve resource from jasperserver repository using server java api

java,jasper-reports,jasperserver

ApplicationContext ctx = StaticApplicationContext.getApplicationContext(); String repositoryServiceName = "repositoryService"; RepositoryService repositoryService = (RepositoryService) ctx.getBean(repositoryServiceName); ExecutionContext context = JasperServerUtil.getExecutionContext(); Resource resource = repositoryService.getResource(context, fileURI); ...

Ability to download file(pdf) in a report in jasperserver

jasper-reports,ireport,jasperserver,dynamic-jasper

Yes - it is possible to link directly to an archived report using a fileview statement. If you have run and stored a copy of the report you can reference it to open directly using a statement like this for authenticated users: http://localhost:8080/jasperserver/fileview/fileview/somepath/createdname.pdf? Now the second piece about displaying all...

JasperReports: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date

jasper-reports,jasperserver

I think this has something to do with date parameters/variables in your report. Please ensure the input control you made for the date parameters in Jasperserver are java.util.date Also one common error i have seen myself repeating is putting a default value expresion like an empty string may be ("")...

cascading Input Control sql query return error: “ORA-01427: single-row subquery returns more than one row”

oracle,jasper-reports,jasperserver

You're doing an uncorrelated subquery to get the first/last name from the user table. There is no relationship between that subquery: SELECT CONCAT(first_name, surname) AS user_name from tbl_user ... and the user ID in the main query, so the subquery will attempt to return every first/last name for all users,...

Jasper server maven repository url?

java,maven,jasperserver

With some simple googling you can get to this other answer on SO, where you can find a reference to this, which in term states you can add it like this: <repository> <id>JasperForge Maven Repository</id> <!-- note: you need a <server> definition at bottom of file this file --> <url>http://anonsvn:[email protected]/svn/repos/maven2</url>...

Updated JasperReports jasperserver to 6.1, but can't start it

jasper-reports,jasperserver

I looked back at the installation log, and indeed there was a problem with the installation. I wound up starting fresh an ran the installation, not the upgrade, and it worked.

Jasperserver REST api: is it possible to run report with POST?

rest,jasperserver

According to the webservices (included with the war file install) guide on v6 you can run a report with a POST 3.2.1 Running a Report Asynchronously In theory there is no reason you can't specify lots of parameters with GET (up to browser limit) the lowest limit you are likely...

Jasper Report — Resource not found

php,jasper-reports,jasperserver,jaspersoft-studio

Hmm the rest endpoint to "run" a report is js/rest_v2/?path to report?.html Unless your report is in the root of your organization, then you need a path. Check out this (line 20): https://github.com/jasonhuber/Jaspersoft_InputControlsFromCSV/blob/master/index.html#L20 and check in the web services guide page 71......

Calling Jasper Reports Server using XML_URL

java,xml,jasperserver

This is how I solved it. Step 1: Instead of passing the name of the XML file via the parameter XML_URL, I passed it via the parameter net.sf.jasperreports.xml.source (Thanks to @kraig from How to use xml data source on jasper server) Step 2: I realized that I need to define...

How secured is SSO based on token based authentication?

security,single-sign-on,jasperserver

According to the Jasper Reports Authentication cookbook, using token-based authentication the user is not directly logged in, meaning that only certain operations can be done using this method. Furthermore, it specifies the following: JasperReports Server will accept any properly formatted token; therefore, you need to protect the integrity of the...

Anyone have an experience to embedding Visualize.js into APEX Application to integrate JasperServer Reports?

javascript,jasper-reports,jasperserver

I've been on Jaspersoft's visualize course and use Apex occasionally. You need to have a plain html region where you can write stuff and then use the visualize library to get reports and reports metadata from the server. You have to ensure that you are authenticated on the server and...

trying to connecting jaserper server using jersy api throw exception?

java,web-services,jersey,jasperserver

You can also do this operation without using any api. Just call the report with the parameters you want with REST call to your jasper server. This guide will help you.

How to generate dynamic reports using ireport/jasper

jasper-reports,ireport,jasperserver,dynamic-jasper

There is an API built on top of JasperReports: DynamicJasper. It offers a simple way to create jasper reports programmatically, thus eliminating the need to create a static layout/template from iReports. Here you can find the charts section of it's documentation: Hot to chart. Otherwise, another thing that comes to...