Welcome and thank you for joining our new OpenText forum. Your questions, responses, best practices, and tips shared with other members will help make this channel vibrant. We're glad you're joining us and look forward to collaborating with you online.

Check out the Getting Started With OpenText Forums for tips on personalizing your experience.

Displaying Parameter Selections in Report

mwilliamsmwilliams BIRT Guru
edited November 1, 2013 in DevShare Downloads
This short script grabs all of your report paramters and steps through them, adding their values to an output string. The script also checks if the parameter is multi-select or not, so that it knows whether it has to step through an object to get the values. I helped someone figure this out in Actuate 11, which at the time used BIRT 2.6.2. However, it probably works for most, if not all, versions.
var output = "";
var paramVal = "";
var pList = reportContext.getDesignHandle().getAllParameters();
var pListSize = pList.size();
for (i=0; i<pListSize; i++){
        var paramName = pList.get( i ).getFullName();
        var paramType = pList.get( i ).getStringProperty("paramType");
        if (paramType == "multi-value"){
                paramVal = reportContext.getParameterValue( paramName ).join(", ");
                paramVal = reportContext.getParameterValue( paramName );
        output = output + paramVal + "


Michael Williams

eSignLive Evangelism & Community Manager | eSignLive by VASCO
Find me on:


eSignLive Developer Community
Email me:
Google: [email protected]

Sign In or Register to comment.