Jump to content
We've recently updated our Privacy Statement, available here ×

fcerbell

Members
  • Posts

    72
  • Joined

  • Last visited

Community Answers

  1. fcerbell's post in Can we add chart customizers to Jasper Server ? was marked as the answer   
    Hi,
    You created your reports using the AdHoc editor. The charts in AdHoc are HTML5 charts (HighCharts) and dont support chart customizers. You can only use Chart customizers with JFreeCharts components.
    Regards
    François
  2. fcerbell's post in How to get the username of user who logged into Jasper Server? was marked as the answer   
    Hi,
    You can create parameters in you report, with a specific name and datatype. Then these parameters will be automatically filled when the report is executed by JasperReports Server. There are about 10 such parameters. As an example, try to define a parameter in your report :
    LoggedInUsername (java.lang.String), with no defaut value. Then, you can use $P{LoggedInUsername} in a text field, in a query, in a printWhenExpression, ... 
    Regards
    François
  3. fcerbell's post in Shouldn't fixed bugs be reported in Release Notes instead of in a Manual? was marked as the answer   
    Hi,
    Well, I have split your question in 4 distinct points and I tried to answer each of them :
    1 - The export bug in 5.1 was fixed. All the fixed bugs are not listed in each release note. Only the most important bugs.
    2 - Page 141 of JRS 5.5 Install Guide does not say that the bug is fixed (even if it is). It gives a workaround to import a repository exported from JRS 5.1 web user interface. It is a process to follow, not a note, and it has to be in the Install or Admin guide.
    3 - Why nothing in the releases note of JRS 5.2 : because of points 1 and 2
    4 - Why nothing in JRS 5.2 Install Guide ? Maybe because the bug in 5.1 and/or its workaround for newer versions were discovered after 5.2 was released.
    Regards
    François
  4. fcerbell's post in Delete demo data from JasperReports Server was marked as the answer   
    Hi,
    I dont think that there is such a command. Furthermore, you will also have to remove the JNDI connections in the META-INF/context.xml file and in the copy of this file made by Tomcat in his configuration folder.
     
    Regards
    François
  5. fcerbell's post in MariaDB support was marked as the answer   
    Hi,
    Currently, the driver used to connect to MySQL databases embedded in the distribution is MariaDB driver. This driver is used for MySQL as a datasource and for MySQL as repository DB.
    You can use MariaDB as a datasource.
    If you want to use MariaDB as a repository, it is not supported by the support team, but it does not mean that it does not work. If MariaDB is compatible enough with MySQL, if one of MariaDB's storage engine is compatible enough with MySQL's InnoDB, and if there is not new keyword in MariaDB which would conflict with functions used in JasperReports Server, it might work. 
    If Oracle is an issue, you can also use PostgreSQL to store your repository. PostgreSQL is officially supported and certified both for the commercial and the community editions.
     
    Regards
  6. fcerbell's post in How do I get the Logged In User's Name in Jaspersoft Studio? was marked as the answer   
    When you are using JasperSoft Studio, you dont have to use credentials to open the studio, so, there is no actually loggedin user. There is a logged in user when you are working with the server, either as a user, in the web UI or as a developper from JSS, with the repository plugin. So, there can not be a loggedin user when JSS executes a report in its preview tab.
    You can add a String parameter to your report, named exactly LoggedInUsername and this parameter will be automatically populated by JasperReports Server when the user will execute it from the server from the web UI..
    If you publish the report to the server and ask (from JSS) the server to execute it, the server will receive this inquiry from an authenticated connection (JSS repository plugin needs credentials), it will populate the parameter with the username configured in the JSS repository plugin. 
×
×
  • Create New...