tonyy Posted March 28, 2014 Share Posted March 28, 2014 I would like to reuse existing jrxml file to create new reportUnit. But whenever i put reference for existing jrxml file I get error message. <errorDescriptor> <errorCode>illegal.parameter.value.error</errorCode> <message>The value "/reports/CustomersReport_files/CustomersReport" for parameter "resourceReference.uri" is invalid.</message> <parameters> <parameter>resourceReference.uri</parameter> <parameter>/reports/CustomersReport_files/CustomersReport</parameter> </parameters> </errorDescriptor> for http://host/jasperserver/rest_v2/resources/reports/CustomersReport2 Link to comment Share on other sites More sharing options...
hozawa Posted March 29, 2014 Share Posted March 29, 2014 Normally, we attach the portion of jrxml cause the error. Link to comment Share on other sites More sharing options...
murugesanvinoth3 Posted October 21, 2018 Share Posted October 21, 2018 The value "/reportsNewTest/GPRSS/IMR_003_ww.jrxml" for parameter "resourceReference.uri" is invalid. My REquest :-{"label":"IMR_003_ww","description":"IMR_003_ww","dataSource" : {"dataSourceReference" : {"uri" : "/datasources/APPLDB"} }, "inputControls": [ {"inputControlReference": { "id": "FROM_DATE,"uri": "/reportsNewTest/APPLN_NEW/IMR_003_ww.jrxml","value" : "FROM_DATE","options": { "label":"FROM_DATE","selected": false,"value" : ""},"mandatory": true,"readOnly": true,"visible": true,"dataType": { "label":"FROM_DATE","description":"FROM_DATE","type": "0","strictMax": false,"strictMin": false }}}, {"inputControlReference": { "id": "TODATE","uri": "/reportsNewTest/APPLN_NEW/IMR_003_ww.jrxml","value" : "TODATE","options": { "label":"TODATE","selected": false,"value" : ""},"mandatory": true,"readOnly": true,"visible": true,"dataType": { "label":"TODATE","description":"TODATE","type": "0","strictMax": false,"strictMin": false }}} ],"alwaysPromptControls": false,"controlsLayout": "popupScreen","jrxml" : { "jrxmlFile" : {"label": "mainReport","type":"jrxml", "content" : "PD94bWwgdm0Pgo=" } }} please help on this Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now