Report Parameters

EvoReports uses two main types of report parameters, user parameters and system parameters. User parameters are parameters which can be input at runtime by the user in order to change query values, maximizing report reusability. System parameters are internal parameters with specific usages which exist to give additional information to the reporting engine at runtime.

User parameters

The following reference table lists all possible parameter data types and their corresponding Alfresco interface components:

Type

Parameter Class

Parameter Name

Interface Component

Properties

Text

java.lang.String

 

Text field

 

Date

java.util.Date

 

Date range

formParameterType=java.util.Date

Boolean

java.lang.Boolean

   

formParameterType=java.lang.Boolean

Integer

java.lang.Integer

 

Text field

formParameterType=java.lang.Integer

Long

java.lang.Long

 

Text field

formParameterType=java.lang.Long

Double

java.lang.Double

 

Text field

formParameterType=java.lang.Double

QName

java.lang.String

 

Association

formParameterType=org.alfresco.service.cmr.repository.NodeRef

Path

java.lang.String

   

formParameterType=org.alfresco.service.cmr.repository.Path

Category

java.lang.String

 

Category

formParameterType=cm_category

Tag

java.lang.String

cm:taggable

Tag

formParameterType=cm_tag

String

java.lang.String

 

Association

formParameterType=org.alfresco.service.cmr.repository.NodeRef

Person

java.lang.String

 

User search

formParameterType=cm_person

Authority

java.lang.String

 

User and group search

formParameterType=cm_authority

Authority

java.lang.String

 

Group search

formParameterType=cm_authorityContainer

Site

java.lang.String

jrep:assocSite

Site search

formParameterType=st_site

Aspect

java.lang.String

jrep:aspect

Aspect selector

formParameterType=jrep_aspect

Data Type

java.lang.String

datatype

Type selector

 

Content  Type

java.lang.String

cm:content

Type selector for types that inherit from cm:content

 

Folder Type

java.lang.String

cm:folder

Type selector that inherits from cm:folder

 

Workflow State

java.lang.String

jrep:wfState

Workflow state selector

 

Task State

java.lang.String

jrep:taskState

Workflow state selector

 

Workflow Definition

java.lang.String

jrep:wfDefinition

Workflow definition selector

 

Priority(Workflow/Task)

java.lang.String

jrep:priority

Workflow priority selector

 

ISO Date

java.lang.String

jrep_date

Date selector

formParameterType=jrep_date

Audit Path

java.lang.String

jrep:auditPath

Audit path selector

 

Escaped parameter

java.lang.String

 

Escaped input field (so it can be compatible with a webscript call)

formParameterType=jrep_encoded

System parameters


Name

Type

Description

ALF_PROTOCOL

java.lang.String

Alfreso protocolo (applied at runtime for repository link construction)

ALF_HOST

java.lang.String

Alfreso host (applied at runtime for repository link construction)

ALF_PORT

java.lang.String

Alfreso port (applied at runtime for repository link construction)

ALF_CONTEXT

java.lang.String

Alfreso context (applied at runtime for repository link construction)

ALF_REPORT_HELP

java.lang.String

Help text to be displayed from the Alfresco interface

ALF_REPORT_CONTENT_TYPES

java.lang.String

Optional. For reports associated with a document type from the Advanced search. For example, if we want the report to show up for contents from the advanced search, "cm:content" in the Default Value Expresion

SUBREPORT

net.sf.jasperreports.engine.JasperReport

For subreports