English

Error: Failed to print map for ${<LocationField>}. Failed to load web map: Failed to load portal item

Error Message

Generating a report of a survey containing a geopoint question and associated with a tile package in the Survey123 for ArcGIS website fails, and the following error is returned:

Error:   
Failed to print map for ${<LocationField>}. Failed to load web map: Failed to load portal item
An image of the error message.

Cause

The Survey123 for ArcGIS website is unable to access the tile package. The tile package is side loaded in the Survey123 for ArcGIS media folder and is set as the default basemap. The Survey123 for ArcGIS website is not designed to display side loaded tile packages as they are only supported for offline use in the Survey123 field app.

Solution or Workaround

As a workaround, customize the feature report template in Survey123 for ArcGIS to reference a different web map when generating a report for the geopoint question. Refer to the document, How To: Customize the size of images in a printed Survey123 for ArcGIS report for steps to customize the default template of the survey, and insert the following syntax when modifying the location question in the Microsoft Word template.

${location|mapSettings:"8b3d38c0819547faa83f7b7aca80bd76":100000}
An image of the location syntax in the report template.

The example given uses the Light Gray Canvas basemap and the map scale of 1:100,000 (by providing the map scale without the 1: prefix or separating commas). For more information on report templates in Survey123 for ArcGIS, refer to Feature report templates.

Related Information