Embed a survey in ArcGIS Dashboards

ArcGIS Dashboards allows you to convey information by presenting location-based analytics using intuitive and interactive data visualizations on a single screen. Common examples of embeding a survey in dashboard are to display the attribute information of features in the style of a form, or to provide an attribute editing environment on the web.

Prerequisites

The following steps require you to be working on a dashboard and have a survey published. If you haven't started an dashboard, see How to use ArcGIS Dashboards. If you do not already have a survey, see Create and publish a survey.

Steps

Use the embedded content element to embed a survey in a dashboard. Choose the feature layer to target, add the URL to your survey, and set the maximum number of features to display. Optionally, you can add parameters to load an existing survey record.

  1. In ArcGIS Dashboards select the dashboard to edit.

  2. Click Add element button.

  3. Choose the Embedded content element.

  4. Copy and paste the survey form URL into the URL field, for example:

    Use dark colors for code blocksCopy
    1
    https://survey123.arcgis.com/share/<survey item ID>
  5. Optionally, you can add parameters to load an existing survey record. Parameters that can be used when embedding a survey, are the same as the URL parameters for launching the web app. The following URL displays a form using parameters to load a selected record in edit mode:

    Use dark colors for code blocksCopy
    1
    https://survey123.arcgis.com/share/acb28b212b5542acbbdbaa35feba0765?mode=edit&globalId={globalid}
  6. Add a List element and configure it to target the survey layer.

  7. Edit the Embedded content element to enable edits on existing survey data. On the Data tab, select Features for Type and select the survey layer to display in Layer. Modify the URL in the URL field and insert the placeholder for GlobalID field. For example, the following URL is modified to extract related information according to the GlobalID and allows users to edit existing data:

    Use dark colors for code blocksCopy
    1
    https://survey123.arcgis.com/share/<survey item ID>?mode=edit&globalId={field/globalid}&version=latest

What's next?

An example of embedding a survey in ArcGIS Dashboards is described in the Survey123 Tricks of the Trade: Embedding a survey in an ArcGIS Dashboard blog post.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.