Select to view content in your preferred language

Valores únicos Survey123

686
3
08-17-2022 08:38 AM
Status: Implemented
Labels (3)
informaticacoopetarrazu
New Contributor II

Hola 

Como puedo hacer para que en una encuesta de Survey123, solamente se puedan incluir valores únicos (integrer) dentro de varios campo.

Por ejemplo: 

Encuestador 1

Folio Principal              Folio Relacionado 1              Folio Relacionado 2         Folio Relacionado  3

1233                                         3456                                        4567                                         8900 

 

Encuestador 2 

Folio Principal           Folio Relacionado  1                  Folio Relacionado 2      Folio Relacionado 3

    4567                            4499                                                 4324                                    9087

 

Como se puede ver, el Folio 4567 los encuestadores los colocaron en dos visitas diferentes, por lo cual la idea es que el sistema al detectar que es un numero ya incluido en el layer, no permita enviarlo al segundo encuestador, a pesar que estén en dos campo distintos.

 

Como dato general: En nuestro survey ese numero está asociados a un pulldatta, que al ingresar alguno folio se desplega la información de un nombre de una personal

3 Comments
IsmaelChivite
Status changed to: In Product Plan

Please check the pulldata("@layer") function. This function allows you to query a feature layer. In your case, you will want to do a query and check if you get a value. If you do, you know it is a duplicate.

Pulldata("@layer") will be officially launched before the end of 2022 but you can start getting familiar with its syntax today. https://community.esri.com/t5/arcgis-survey123-blog/survey123-april-2022-now-available-in-beta/ba-p/...   If you happen to be building a survey for the web browser, you can even publish your survey since the web app works well with pulldata("@layer") already.

JamesTedrick

This functionality is now available using the pulldata('@layer') function.  Please refer to the Survey123 documentation and the Esri Community blog post on this functionality.

JamesTedrick
Status changed to: Implemented