anaxim Posted February 13, 2017 Share Posted February 13, 2017 Hi, We are trying to publish a report on JasperServer using the REST v2 service. We tried for a long time with XML ressource descriptor and found the following wiki article:http://community.jaspersoft.com/wiki/how-use-rest-v2-upload-report-unit-jasperreports-server-base64-encode-approachWith this method we were able to publish a report unit with a single jrxml, a report unit with associated pictures as fileRessources but we are stuck in the case of declaring inputControls.We are using JasperServer v6.2.1. Here is the POST performed : { "label":"REPORT NAME", "dataSource" : { "dataSourceReference" : { "uri" : "/DataSources/DATASOURCE NAME" } }, "jrxml" : { "jrxmlFile" : { "type":"jrxml", "label": "mainReport", "content" : "BASE64 CONTENT" } }, "resources" : { "resource" : [{ "name" : "logo.png", "file" : { "fileResource" : { "label" : "logo.png","type" : "img","content" : "BASE64 CONTENT"} }} ] }, "inputControls": [ { "inputControl": {"id": "object_id","type": "02","label": "object_id","mandatory": false,"readOnly": false,"visible": true,"masterDependencies": [],"slaveDependencies": [],"dataType": {"label": "typeTEXT","description" : "description","type": "text","strictMax": false,"strictMin": false}}, } ]}The response from the serveur is : {"message": "Could not resolve type id 'label' into a subtype of [simple type, class com.jaspersoft.jasperserver.dto.resources.ClientReferenceableDataType]n at [source: org.apache.catalina.connector.CoyoteInputStream@f0b2ea8; line: 43, column: 6] (through reference chain: com.jaspersoft.jasperserver.dto.resources.ClientReportUnit["inputControls"]->com.jaspersoft.jasperserver.dto.resources.ClientInputControl["dataType"])","errorCode": "illegal.parameter.value.error"} Indicating that there is a issue in the dataType dictionnary. I couldn't found any working indications in the documentations. Could someone please indicate us the correct data structure and informations that are expected in the inputControl part ? Link to comment Share on other sites More sharing options...
alvarez.daniel Posted August 25, 2017 Share Posted August 25, 2017 Hello Anaxim, we are also working with JasperReports, and we found the same problem as you. Have you found any solution to this? Thanks. Link to comment Share on other sites More sharing options...
jverkerk Posted October 17, 2017 Share Posted October 17, 2017 Good morning, do either of you have an update on this topic?I figured I'd try the channels first before opening up a support ticket on the same thing. Link to comment Share on other sites More sharing options...
jverkerk Posted October 19, 2017 Share Posted October 19, 2017 I opened up a ticket with support for this, and their answer was this:"I will look to see if we have any example. Unfortunately, we do not have any formal documentation for thisas this somewhat lies out of the scope of support. I will update you with my findings." Link to comment Share on other sites More sharing options...
johann.reboulleau Posted December 11, 2017 Share Posted December 11, 2017 Hello,An example :Http POSTURI : http://localhost:8080/jasperserver/rest_v2/resources/Workshop/Headers : - Content-Type : application/repository.reportUnit+json - Authorization : ******** - X-REMOTE-DOMAIN : 1 (if Csrf enable)Body :{ "label": "listeBts-UploadRest", "dataSource": { "dataSourceReference": { "uri": "/datasources/reference_requisition" } }, "inputControls": [ { "inputControlReference": { "uri": "/Workshop/InputControl/ParameterCommune" } } ], "alwaysPromptControls": true, "controlsLayout": "popupScreen", "resources": { "resource": [ { "name": "logo_opt.jpg", "file": { "fileReference": { "uri": "/Workshop/images/logo_opt.png" } } } ] }, "jrxml": { "jrxmlFile": { "label": "MyJRXML", "content": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjwhLS0gQ3JlYXRlZCB3aXRoIEphc3BlcnNvZnQgU3R1ZGlvIHZlcnNpb24gNi40LjMuZmluYWwgdXNpbmcgSmFzcGVyUmVwb3J0cyBMaWJyYXJ5IHZlcnNpb24gNi40LjMgIC0tPg0KPGphc3BlclJlcG9ydCB4bWxucz0iaHR0cDovL2phc3BlcnJlcG9ydHMuc291cmNlZm9yZ2UubmV0L2phc3BlcnJlcG9ydHMiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhzaTpzY2hlbWFMb2NhdGlvbj0iaHR0cDovL2phc3BlcnJlcG9ydHMuc291cmNlZm9yZ2UubmV0L2phc3BlcnJlcG9ydHMgaHR0cDovL2phc3BlcnJlcG9ydHMuc291cmNlZm9yZ2UubmV0L3hzZC9qYXNwZXJyZXBvcnQueHNkIiBuYW1lPSJMaXN0ZSBkZXMgQlRTIiBwYWdlV2l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lciIgeD0iMiIgeT0iMyIgd2lkdGg9IjE5NyIgaGVpZ2h0PSIyMCIgZm9yZWNvbG9yPSIjRkZGRkZGIiB1dWlkPSIwYzlmN2U5MS1kM2Y1LTQ3ZjktODJiNy0wYjJiM2E0M2E1ZDYiLz4NCgkJCQkJPHRleHRFbGVtZW50IHZlcnRpY2FsQWxpZ25tZW50PSJNaWRkbGUiPg0KCQkJCQkJPGZvbnQgc2l6ZT0iMTAiIGlzQm9sZD0iZmFsc2UiLz4NCgkJCQkJPC90ZXh0RWxlbWVudD4NCgkJCQkJPHRleHRGaWVsZEV4cHJlc3Npb24+PCFbQ0RBVEFbbmV3IGphdmEudXRpbC5EYXRlKCldXT48L3RleHRGaWVsZEV4cHJlc3Npb24+DQoJCQkJPC90ZXh0RmllbGQ+DQoJCQk8L2ZyYW1lPg0KCQk8L2JhbmQ+DQoJPC9wYWdlRm9vdGVyPg0KCTxzdW1tYXJ5Pg0KCQk8YmFuZCBzcGxpdFR5cGU9IlN0cmV0Y2giLz4NCgk8L3N1bW1hcnk+DQo8L2phc3BlclJlcG9ydD4NCg==", "type":"jrxml" } }} [/code] The input Control, datasource and other reources are presents in JasperReport Server.Regards,Johann Link to comment Share on other sites More sharing options...
a.khodeevcy.cardpay.com Posted December 26, 2017 Share Posted December 26, 2017 HiI faced the same problem.You should add an additional level of nesting in dataType object. In your case, it will be something like that"dataType": { "dataType": { "label": "typeTEXT", "description" : "description", "type": "text", "strictMax": false, "strictMin": false }}[/code]inputControl can accept dataTypeReference as well as an explicit declaration of dataType. Thus you should specify firstly what way of dataType declaration you will use. Link to comment Share on other sites More sharing options...
murugesanvinoth3 Posted October 17, 2018 Share Posted October 17, 2018 Even tried the option with DataType, its failing. 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