Parameter as array list via URL?

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

Hi,

i've got in my jrxml:

<parameter name="PROJECT_IDS" class="java.util.ArrayList">
        <parameterDescription><![CDATA[Projects]]></parameterDescription>
        <defaultValueExpression><![CDATA[]]></defaultValueExpression>
    </parameter>

Within the Jasper Server GUI I can easily create an element which collects the IDs and passes them correctly to the report.

 

But how do I do this in an URL:

GET
https://<server>/rest_v2/reports/<reportPath>/<reportName>.<reportFormat>?PROJECT_IDS=...

I tried "1,2,3,4" and "[1,2,3,4]" but none of them worked :-(

 

Thx for any hints, Bernd

 

 

 

 

bmservices's picture
Joined: Nov 3 2017 - 7:37am
Last seen: 2 years 8 months ago
narcism - 4 years 1 month ago

Thx, that was what I was looking for. Never thought of passing the same parameter multiple times.

bmservices - 4 years 1 month ago

0 Answers:

No answers yet
Feedback
randomness