How to add parameters/input to jrxml file by Rest API when creating

0

Hi,

I need to add parameters/input to my jrxml file by Rest API. My file create normally but wihout parameters. I need to add parameters to this jrxml file. Only I have found that I need to path to inputcontrolreference but it doesn't works. Below the code which I send using the put method:

{
  "label": "paragon",
  "description": "paragon jrxml",
  "dataSource": {
    "dataSourceReference": {
      "uri": "/datasources/Oraclunio"
    }
  },
    "inputControls": [
        {
            "inputControlReference": {
                "uri": "/reports/G/paragon_files/NumerZamowienia"
            }
        },
        {
            "inputControlReference": {
                "uri": "/reports/G/paragon_files/Rodzaj"
            }
        }
    ],
  "alwaysPromptControls": true,
  "controlsLayout": "popupScreen",
  "jrxml": {
    "jrxmlFile": {
      "label": "Main jrxml",
      "type": "jrxml",
      "content": "content"
    }
  }
 
}

I have used such a link : http://localhost:8081/jasperserver/rest_v2/resources/reports/G/paragon?c...

Iras's picture
2
Joined: Mar 24 2018 - 7:08am
Last seen: 7 months 2 weeks ago

have you found any solution for this 

murugesanvinoth3 - 9 months 1 week ago

0 Answers:

No answers yet
Feedback
randomness