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

sebj

Members
  • Posts

    6
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by sebj

  1. Great, but how to change parameters for the URL of the JSON File adapter ? For exemple, how to call report with diferents ID parameter with jaspersoft server REST API ? : Report one : /jasperserver/rest_v2/reports/reports/MY_REPORT.PDF?ID=ONE Report two : /jasperserver/rest_v2/reports/reports/MY_REPORT.PDF?ID=TWO For calling JSON File adapter with this "ID" parameter : One : JSON_File_adapter_base_remote_URL?ID=ONE Two : JSON_File_adapter_base_remote_URL?ID=TWO
  2. Hy, i post similar question "one sevice call + sub report" on documentation page : https://community.jaspersoft.com/wiki/multiple-datasets-exactly-same-json-only-one-webservice-call-extension-and-another-example Have you solved the problem ? And so, how ?
  3. Hy, and instead inject in a Table componant (jr:table), it's possible to inject datas in a subReport ? As exemple with Table and DataSetRun + DataSourceExpression (is working) : <jr:table> <datasetRun subDataset="Dataset1"> <dataSourceExpression><![CDATA[((com.jaspersoft.webservice.data.query.IWSDataSource)$P{REPORT_DATA_SOURCE}).clone("results", $P{SubFieldsMap})]]></dataSourceExpression> As wanted for call, a subreport for each node : <subreport> <reportElement/> <dataSourceExpression><![CDATA[((com.jaspersoft.webservice.data.query.IWSDataSource)$P{REPORT_DATA_SOURCE}).clone("@.results", $P{SubFieldsMap})]]></dataSourceExpression> <subreportExpression><![CDATA["testsub_sub.jasper"]]></subreportExpression> </subreport> With a JSON like : [{"id": 123,"result": [{ "symbol": "S_A_1" },{ "symbol": "S_A_2" }]},{"id": 456,"result": [{ "symbol": "S_B_1" },{ "symbol": "S_B_2" }]}] For first subreport call, it will use array S_A_1, and S_A_2 For second subreport call, it will use array S_B_1, and S_B_2
  4. It's use locale, dependent method of org.apache.commons.beanutils for the conversion, namely LocaleConvertUtilsBean.convert(String, Class<?>, Locale, String). look at : [#14026] - Bug at converting BigDecimal numbers https://community.jaspersoft.com/jasperreports-library/issues/14026
  5. I'confirm same problem : Error on "Read Fields" and "Loading Json Data" with "Get Server Response" since Jaspersoft Studio 6.13
  6. Hy ! Since TIBCO Jaspersoft Studio 6.13 and more, the "Adapter Web Service" doesn't work. 6.8 and 6.12 are working 6.13 and last 6.20 are not working. Error message with 6.13 : java.lang.AbstractMethodError: com.jaspersoft.studio.data.webservice.WebServiceDescriptor.supportsGetFieldsOperation(Lcom/jaspersoft/studio/utils/jasper/JasperReportsConfiguration;Lnet/sf/jasperreports/engine/JRDataset;)Z at com.jaspersoft.studio.property.dataset.dialog.DataQueryAdapters.doGetFields(DataQueryAdapters.java:477) at com.jaspersoft.studio.data.designer.AQueryDesignerContainer$1.run(AQueryDesignerContainer.java:49) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122) Error message with 6.20 : java.lang.AbstractMethodError: Receiver class com.jaspersoft.studio.data.webservice.WebServiceDescriptor does not define or inherit an implementation of the resolved method 'abstract boolean supportsGetFieldsOperation(com.jaspersoft.studio.utils.jasper.JasperReportsConfiguration, net.sf.jasperreports.engine.JRDataset)' of interface com.jaspersoft.studio.data.fields.IFieldsProvider. at com.jaspersoft.studio.property.dataset.dialog.DataQueryAdapters.doGetFields(DataQueryAdapters.java:512) at com.jaspersoft.studio.data.designer.AQueryDesignerContainer$1.run(AQueryDesignerContainer.java:49) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122) With 6.13 and more, doesn't work : With 6.12 and less, it's work :
×
×
  • Create New...