POST
|
Hello Rene Aubut, The parameters of the if() function are if(<condition>,<return X if condition is met>,<otherwise return Y>) Please use this link for reference: Formulas—ArcGIS Survey123 | Documentation In your condition are you trying to say if ${tonnage_pct}<5 AND ${tems_transport}<240 return 'oui' otherwise return 'non', or are you trying to say if ${tonnage_pct}<5 OR ${tems_transport}<240 return 'oui' otherwise return 'non'? Thank you, Zach
... View more
08-13-2020
02:24 PM
|
0
|
2
|
531
|
POST
|
Hello Helen Cooper, Just to confirm your workflow your want the folks taking the survey to edit existing records correct? Once a record is edited what is the ideal next step in the web map, the existing feature disappears until approved, or the feature on the web map displays the old information until approved and then the updated information will be visible? Are you using hosted feature services in ArcGIS Online, or a registered service from an Enterprise Geodatabase in ArcGIS Enterprise? Thank you, Zach
... View more
08-12-2020
03:18 PM
|
0
|
3
|
929
|
POST
|
Hello Kerry Kang There is a sample in ArcGIS Survey123 Connect called Lines and Polygons. If you hit create new survey > Samples > the Lines and Polygons sample will be located there. In that sample the last section goes through how lines and polygon features can be created from repeated points. If you are only interested in the line or polygon feature you can make your geopoint with a bind:esri:fieldType set to null that way the point geometry will not be stored in a feature service. Thank you, Zach
... View more
08-07-2020
08:25 AM
|
0
|
5
|
1363
|
POST
|
Hello Jennifer Hopkins, ArcGIS Survey123 only supports 1:Many GlobalID to GUID relationships when working with existing feature services and related tables. One to one relationships are not supported. Please use the note at the bottom of the Prepare a feature service section of this documentation for reference: Use Survey123 with existing feature services—Survey123 for ArcGIS | Documentation A workaround if you don't want folks adding many records in the related table is to use a repeat count. If you would only like one record in the related table when taking a survey you can specify the repeat count to 1 which will only allow for one submission. Please use this link for reference: Repeats—Survey123 for ArcGIS | Documentation Please note although the repeat count it set to 1 if you have the inbox enabled and folks are editing existing records through the inbox they will be able to add new records to the related table. Thank you, Zach
... View more
08-05-2020
09:55 AM
|
0
|
0
|
1571
|
POST
|
Hello Jamie Trammell, The approach will depend on a few factors. The main factor being those points already existing in ArcGIS Online or ArcGIS Enterprise. If those points already exist and you want your survey submitters to draw polygons around those points then you can create a survey that uses a geoshape question in it. You can then add a web map containing the points and the survey's hosted feature layer as linked content and the survey submitters would be able to draw new polygons around the points and see existing polygons already drawn. If those points already exist in ArcGIS Online or ArcGIS Enterprise and the questions you want answered in the survey are already fields in the service you can create a survey based on the existing feature service all the questions will automatically come through in Survey123 Connect. You will be able to add calculations and visual customization that you would like to make the survey experience better. To edit the existing points you can enable the Inbox if your submitters are going to be editing from the ArcGIS Survey123 Field App or you can use the ArcGIS Survey123 Web Form URL parameters in a web map or web app if you would like your submitters to use a browser. Thank you, Zach
... View more
08-04-2020
04:27 PM
|
0
|
0
|
1202
|
POST
|
Hello Sarah Hartholt, Updating the field length will require the hosted feature service to be republished and will delete all previously collected data. "You will see a message along the lines Field <fieldName> in <surveyName> length is too short 255" Please use this link for reference regarding changes that can be made without deleting the current feature service: Publish your survey—Survey123 for ArcGIS | Documentation A couple of options moving forward, as noted in the article you linked you can add the field to the hosted feature service with the field length you would like. You can then field calculate that new field with the existing values from the old field. In your XLSForm you can remove the old text field and add the name of the new text field, since the schema matches you should be able to update the survey without deleting the existing feature service. Another option would be to download your existing survey results as a file geodatabase, overwrite the survey which will delete the existing data, and append the file geodatabase to the new feature service. This option is a lot more finicky and has a lot more room for additional issues. Thank you, Zach
... View more
08-04-2020
04:10 PM
|
6
|
0
|
3561
|
POST
|
Hello Emma Lewison, From the error message it looks like in the name column of the GUID field in the survey may have been set to GlobalID. If you navigate to the REST endpoint of the service you are trying to create the survey based on and select the table/layer (depending on what it is) it will show the list of fields. Copy the name of the esriFieldType GUID field and paste that in the name column of the XLSForm. For example in my test related table on the REST endpoint I can see the name of my GUID field is parentglobalid which I can then use as the name in my XLSForm: Thank you, Zach
... View more
08-04-2020
03:49 PM
|
0
|
0
|
731
|
POST
|
Hello Don Maxwell, It is possible to create a second survey to edit those questions later on. What you can do in Survey123 connect is create a new survey based on that existing feature service (associated with your original survey). This will pull the service's schema and will automatically make those hidden questions into whatever question type their field type is. For example a hidden question that is a string field type will turn into a text question in the survey created from the existing feature service. If you want the people who are going to be working on the second survey to edit existing records you would enable the inbox for the second survey to edit those records. Thank you, Zach
... View more
08-04-2020
02:03 PM
|
0
|
1
|
302
|
POST
|
Hello Federico Riet Sapriza, One option would be to use the Survey123 custom JavaScript Pulldata() functions to hit a lunar phases API. I have attached a sample that hits a weather API based on a Geopoint location. The sample may be able to be modified in which the survey will pass along a date and the JavaScript function will hit a lunar phases API to return the phase for that date. In researching it seems that NOAA has an API that may be able to be used to extract this information. Please use these links for reference: php - Lunar Phase API - Stack Overflow Astronomical Data - NOAA Tides & Currents Another option is to potentially use the NOAA information above and create a CSV file with dates and phases for some period of time in the future and use the pulldata() function in your survey to grab those values. Thank you, Zach
... View more
08-04-2020
12:25 PM
|
2
|
1
|
1005
|
POST
|
Hello Joe Michael Cornely (MDPR), Geometry can not be modified once a survey is published using the Web Designer. If you would like to change the geometry captured in the survey you can download the survey in Survey123 Connect and change the geoshape (polygon) question to a geopoint (point) or geotrace (line) if you like. Please note through that this change will delete the hosted feature service associated with the survey and recreate it to accommodate for the new geometry type. If there is data in the existing survey that you would like to keep please download the feature service as a file geodatabase before making the change in Survey123 Connect and overwriting the survey. It will likely not be a simple append to add the records back onto the survey as the geometry is different. Depending on what new geometry is chosen you may need to convert the polygons to centroids (points) or polylines to append the data to the new service. Thank you, Zach
... View more
08-04-2020
10:26 AM
|
0
|
0
|
408
|
POST
|
Hello bob wright, You can side load a survey by creating a folder in the My Survey's folder on whichever device you have the Survey123 Field App installed on. The folder will be named the item ID for the form item for example c195e79b35cb4cabb42dafe01d17c083. Then create a new folder inside that folder named esriinfo. Finally copy all of the files from the "My Survey Designs" folder where Survey123 Connect is installed (I didn't include the media or debug folders when testing the workflow because my sample survey did not utilize those folders. If you survey does utilize those folders I believe you would copy them as well). Copy those files into the esriinfo folder that was previously created. The files should include: <surveyName>.info <sureyName>.itemInfo <surveyName>.png <surveyName>.webform <surveyName>.xlsx <surveyName>.xml <surveyName>.json Thank you, Zach
... View more
08-04-2020
10:01 AM
|
3
|
0
|
708
|
POST
|
Hello Kevin Burkman You can add your text question and in the relevant box put something like selected(${question2c},'q2cdepgeohum'). I have attached a test XLSForm to take a look and test it out. Thank you, Zach
... View more
07-30-2020
05:33 PM
|
0
|
0
|
417
|
POST
|
Hello RTM RTM, Depending on the format of your customer records it would need to be appended to the Feature Service associated with your Survey123 survey. One option would be to use the append tool in ArcGIS Online/Enterprise Portal: Manage hosted feature layers—ArcGIS Online Help | Documentation Although the more pragmatic workflow would be to use the append Geoprocessing tool in ArcGIS Pro: Append (Data Management)—ArcGIS Pro | Documentation If your customer data is a little more complicated with attachments and related records the following video may be helpful with the append process: https://www.youtube.com/watch?v=S5V6MIrAKCk&t=1s Thank you, Zach
... View more
07-30-2020
04:24 PM
|
0
|
0
|
466
|
POST
|
Hello Brad, I have tested the workflow and was able to reproduce the same behavior. The quick answer why nothing is being returned is because the string in the “where” parameter is incorrect. The string that I have gotten to work for generating a report against multiple OID’s was 'objectid=1 OR objectid=2'. In short the “where” parameter is looking for the same syntax as the Where clause when querying a layer from REST. If you enter Where: objected=1,2 from REST the request will return an invalid parameter error. If you use Where: objectid=1 OR objectid=2 the query will return both of those Object ID’s. I had made one modification to the script for it to work in my environment which was to change the survey manager function to arcgis.apps.survey123.SurveyManager(gis) instead of SurveyManager(gis). I have attached a copy of the script I have been testing with to the email in case it is helpful for testing. Thank you, Zach
... View more
07-30-2020
02:46 PM
|
0
|
0
|
630
|
POST
|
Hello Matt Creaney, That is weird that no error message is obtained when submitting. If the behavior is still being encountered does the behavior occur with all people submitting the survey or just one person? Is the behavior observed on a specific OS (IOS, Android, Windows) or all OS's? Are you using ArcGIS Online or ArcGIS Enterprise? Is the device registered with an MDM or connected to a VPN when submitting? A few troubleshooting workflows would be to grab the Survey123 diagnostic logs which can be enabled by opening the menu on the app's home page, select Settings, select the Diagnostics tab, enable logging. You can grab the logs from the device and see if there are any error messages there. Since no error is thrown I would think that there would not be much information in the logs, but something to double check. The best way to see what the app is sending is to download a program called Fiddler, configure it to decrypt HTTPS traffic, and then configure it with the mobile device. This will show what the Field App is sending to the portal and confirm if those fields are populated or not. This will narrow the issue down to the Survey123 Field App, a firewall or environment issue, or the Web GIS infrastructure. If the behavior is still happening I would recommend creating a ticket with Esri Technical Support and they will be able to assist grabbing this troubleshooting information and interpreting the results. Thank you, Zach
... View more
07-30-2020
10:18 AM
|
0
|
2
|
578
|
Title | Kudos | Posted |
---|---|---|
1 | 09-10-2024 12:40 PM | |
1 | 09-16-2024 10:48 AM | |
4 | 09-13-2024 09:52 AM | |
2 | 09-13-2024 09:51 AM | |
9 | 09-11-2024 01:08 PM |
Online Status |
Offline
|
Date Last Visited |
09-27-2024
11:14 PM
|