Jump to content
We've recently updated our Privacy Statement, available here ×

Why I can't reuse references to existing jrmxl file when creating new resource with PUT


tonyy

Recommended Posts

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>

 


Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 years later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...