REST API and reporting, using subreports for data link
I'm not sure if I have understood how I'm supposed to generate a report showing data from a data link in the Rest elements. I've configured a site xml with a datalink which seems to work ok (tested througt the rest service directory). When I test the report through the service directory, I get a report, but the subreport contains data for all the data in the data link, and it's repeated for each feature in the layer. This is best illustrated with an example: Test datalink with ID's: 160901722,160901847 http://demo05.geodata.no/Geocortex/Essentials/REST/sites/GMA/map/mapservices/1/layers/4/datalinks/TeigDataLink/link Test report with geometry: 293572.467625899,6694073.59352518,293618.697841727,6694116.52158273 http://demo05.geodata.no/Geocortex/Essentials/REST/sites/GMA/map/mapservices/1/layers/4/reports/0/run Site xml, report and subreport is attached... Anyone who has successfully used data link and reportst in the REST Elements?? BTW I'm running Essentials 2.1 on a Windows 2008 server.
(https://support.geocortex.com/Data/Sites/1/userfiles/661/Geodata.zip) Attachment: Geodata.zip
0
-
Hello, Our products team has investigated this issue, and has replicated it in our own environment confirming that you have exposed a defect in our software. Thank you for bringing this to our attention. We have set a high priority on this issue and are currently working to get it resolved. We will be scheduling a "dot" release (2.1.1) in the next week or so containing the resolution for this and a few other defects. Thank you for your patience. Drew. 0 -
I just thought I should mention that 2.1.1 is available today, and contains the resolution for this defect. Thank you for bringing this to our attention! 0
Please sign in to leave a comment.
Comments
2 comments