Browse to and select the desired feature layer and click Create survey.Alternatively, you can choose to associate your survey to an existing feature layer.Prepare a feature layer To use a feature layer with Survey123, it should be a hosted layer from ArcGIS Enterprise or ArcGIS Online, or a service from ArcGIS Server (10.4 or later) that is federated with Portal for ArcGIS.
Note: To work with nonfederated feature services, some additional configuration is required, as you will need to manually create a feature layer item in your ArcGIS organization that represents the service. The owner and users of the survey must have access to the feature layer and it must be editable. Also consider the following: If users are collecting new surveys, the Create capability is required. If users are editing existing surveys, the Update capability on the layer is required. If users are capturing images, audio, or files, hasAttachments must be set to true. Repeats cannot reference related layers or tables unless the child layer or table uses a GUID field for the relationship. Although not a requirement in versions of ArcGIS Server supported by Survey123, best practice is to use a GUID field for the relationship in the parent layer. If you plan to edit your surveys, ensure that either your feature layer allows null values or your survey uses required fields. Survey123 uses null values in editing when an answer is deleted and is not replaced; consequently, Survey123 will not submit a survey from a feature layer that doesnt permit null values. There are two additional capabilities that must be set to true for the feature layer: supportsAttachmentsByUploadId This capability should be automatically turned on if attachments are enabled on the feature layer. It allows the app to upload all attachments associated with a survey before attempting to submit the survey. If any of the attachments fail, the entire survey submission will roll back, preventing data loss. This allows the app to create and manage the global IDs in created features (as opposed to the server forcing a new global ID for created features). For a feature layer to support applying edits with global IDs, the following requirements must be met: The layers in the feature layer must have a GlobalId column with a unique index. The easiest way to do this is to enable sync when publishing your feature layer. If your feature layer contains m-enabled layers, editing without m-values must be enabled. Arcgis Server Services How To Support EditingFor more information on how to support editing in your feature layer, see supportsApplyEditsWithGlobalId in Layer (Feature Service) of the ArcGIS REST API documentation. Generate a survey from a feature layer The quickest way to create a survey that is linked to an existing feature layer is to generate the survey from the feature layer in ArcGIS Survey123 Connect. In Survey123 Connect, choose New Survey, sign in to your ArcGIS organization, and select the Feature service category.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |