HOW TO
The steps in this article describe how to apply layer transparency in an ArcGIS Survey123 report template to hide geopoint, geotrace, and geoshapes on a map question for the ArcGIS Survey123 web app.
When including a map in a survey report, the survey's default map is used unless a different map is specified by the user using the "map" method in the report template. With either option, the survey records are visualized with the default symbology (a blue pin symbol) on top of the layers in the map. Often times, users want to have their own data represented on a map in survey reports to show to other organizations and stakeholders. In such scenarios, the user may want to change the symbology for a survey layer or change the visualization settings, such as transparency.
The symbology and transparency of the survey points in a geopoint, geotrace, or geoshape map in a report can be controlled using the "drawingInfo" method in the report template. This method allows users to apply the drawing info from survey's current layer or a different feature layer using feature layer URL, giving user control over the symbology of their survey layer on report maps. Below are some examples of how drwingInfo can be used in the report template syntax:
The following example outlines the workflow for making the survey layer transparent on the report map.
This examples below show how this method can be used in a Survey123 report template to control layer's drawing info in a map in the Summary section of a report:
${map_question|orderByFields:"objectid DESC"|resultRecordCount:3}
${map_question|orderByFields:"objectid DESC"|resultRecordCount:3|drawingInfo:”currentLayer”}
${map_question|orderByFields:"objectid DESC"|resultRecordCount:4|drawingInfo:”https://services.arcgis.com/LMjyaBcDR6YFiqk8/ArcGIS/rest/services/FeatureLayerName/FeatureServer/0”}
${map_question|orderByFields:"objectid DESC"|resultRecordCount:3|map:”cbe3627a21914c61b57dc28841cb7970”|drawingInfo:”https://services.arcgis.com/LMjyaBcDR6YFiqk8/ArcGIS/rest/services/FeatureLayerName/FeatureServer/0”}
Article ID: 000032459
Get help from ArcGIS experts
Download the Esri Support App