Jump to content

ecanaveras

Members
  • Posts

    28
  • Joined

  • Last visited

 Content Type 

Forum

Downloads

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Events

Profiles

Posts posted by ecanaveras

  1. Hi Eyesmagicx,

    I must clarify.

    Jasper Studio "JS" is used to create reports with custom layout, simple or complex layout. This IDE generates a JRXML using the Jasperreports library, you cannot use it to launch reports from another app (only to "build" reports)

    Jasperreports "JR" is a JAVA library with a free version, it is the report engine. (don't forget this) you can use it as a "plugin" library in your projects.

    Jasperreports Server "JRS" is a web application (a frontend that allows you to easily deploy | use reports), it has a free and paid version.

    You can use your reports directly in a java web app (that you create) directly using the "it's what @ does" library.
    jgust, indicates it in his comment", or you can use JRS which already exists.

    Regarding your confusion, JRS Professional and Enterprise allow the creation of Ad HOC reports (simple and very limited web reports), usually created by the end user (does not require a developer).

    Important, everything mentioned uses the Jasperreport library (it is the report engine)

    Regards

  2. Hello,

    It depends on the need of your project.

    Jasper Studio: Designer (IDE, now even with web version)

    Jasper report IO:
    - It is a microservice,
    - Repository in folders
    - PDF, XLS, CSV, etc.
    - Exclusive to generate documents | files
    - It is possible to use an online viewer
    - Can be used in containers (Docker | Kubernetes)
    - Less expensive license


    Jasper Report Server:
    - WEB application (Use a web server)
    - Repository in Database
    - PDF, XLS, CSV...
    - *Dashboards, Adhoc, Domains, Topics, etc.
    -User | roles
    - *More expensive license, depends on the edition (Reporting, Professional, Enterprise)

    * Dashboards, Adhoc, Domains, are only accessible in Professional editions | business
    * There is a Community version, very similar to the Reporting Edition (No payments | No official support, only community support)


    Jasperreport IO & Jasperserver allow you to use reports in different ways.

    -URLs
    - Rest API
    - Visualize (JavaScript Library)
    -Iframe (Embed)

    Greetings.

  3. Hi, it is posible:

    This is a example, scriptlet.

    public class PagesCount extends JRDefaultScriptlet {    public Integer getPagesNumber() {                            try {                                    return (Integer) this.getVariableValue(JRVariable.PAGE_NUMBER);        } catch (JRScriptletException ex) {            Logger.getLogger(JRSPagesCount.class.getName()).log(Level.SEVERE, null, ex);        }                return null;    }    ...}[/code]

    Regards

     

     

  4. Hi, using code Java:

    $P{PARAM_SITE}.contains("has_content") ? "your site" : "www.modulank.com"[/code]

     Summary:

    CONDITION ? true : false[/code]

    Regards.

  5. Hi,

    Use Variables:

    VAR1 = COLUMN_A

    $P{SHOW_COLUMN_A} ? $F{FIELD_COLUMN_A} : 0[/code]

    VAR2 = COLUMN_C

    $P{SHOW_COLUMN_C} ? $F{FIELD_COLUMN_C} : 0[/code]

    VARn = COLUMN_N

    $P{SHOW_COLUMN_N} ? $F{FIELD_COLUMN_N} : 0[/code]

     

    Expression:

    $V{VAR1} +  $V{VAR2} + $V{VARn}[/code]

     

    Regards

×
×
  • Create New...