I have a layer called StaffDeployment and its data in the attribute table. The layer has been published as service through ArcMap in the ArcGIS Portal. Now I want to create the reports according to the dropdown selection in the browser. I got the REST URL of the published service.
1. How to attain the report in an HTML web Page?
2. Since the GEO information, How well we can use the JSON format to create an report?
You use a queryTask to query the map service to get the records you want and then use domContruct to create your report using standard html elements (like hr, Span, img, div, table). It can be done but there is no simple shortcuts, you have a lot of work ahead of you creating and fomatting and laying out the dom elements to make your report.
Thanks Robert for your help.
1. Do I need to install ArcGIS Datarewier in ArcGIS portal for using Query task?
I was referring the below document.
//This should point to the Data Reviewer soe
var drsSoeUrl = "https://datareviewer.arcgisonline.com/arcgis/rest/services/Samples/reviewerDashboard/MapServer/exts/DataReviewerServer";