|
POST
|
Hello @KerryKang, If your survey uses select_x_from_file and your choices are stored in a CSV file in the media folder we have a notebook (we are working on documentation for the workflow) that can be used to update that CSV in the media folder. If your choices are in the choices worksheet in the survey that is a bit more difficult as there are a number of steps that would need to be taken. We are working on supporting this workflow in the Survey123 module of the python API. At the moment the workflow that I would recommend would be to host a CSV for the choices in your ArcGIS Online content, use select_x_from_file in your survey, link the CSV from your Org content to the survey (please refer to this documentation: https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformessentials.htm#ESRI_SECTION1_34A4D88BA6A64C48AA0E113DC61099DD), and then a script using the ArcGIS API for Python can be used to update the Org item CSV which will then auto update in the survey. I've attached a simple script that I've been using for testing the linked CSV workflow that uses the Python API. Thank you, Zach
... View more
03-30-2021
07:15 PM
|
2
|
8
|
6338
|
|
POST
|
Hello @DustyJordan , We have a defect logged for this behavior. The defect is BUG-000138199, the workaround for the defect is if there is a set number of leading 0's a character can be added to the prefix of the value (like ` for example) and the substr() function can be used to filter it out. Alternatively a comparison of the returned length can be done and zeros can be added where necessary. Something like: if(string-length(${r_code}) = 1, concat("000", string(${r_code})), if(string-length(${r_code}) = 2, concat("00", string(${r_code},....) Thank you, Zach
... View more
03-30-2021
02:53 PM
|
0
|
0
|
8015
|
|
POST
|
Hello @MichaelBrown4, If you use the script I had provided in the first comment on the post and only run the first 5 code cells (which will be up to and including the cell that extracts the zip file) in the unzipped folder that is created is the original CSV still in the media folder? Thank you, Zach
... View more
03-30-2021
02:01 PM
|
0
|
2
|
4191
|
|
POST
|
Hello @MichaelBrown4, What we determined happened was when the survey was originally published the linked CSV was included in the media folder. What was happening was the update media folder script was working with a separate CSV than the linked one and when the script extracted the ArcGIS Online Form Items media folder it added the current timestamp the script was running to the file modify time. Since there was an older version of the linked CSV in the ArcGIS Online Form Items media folder the field app thought it was working with the most recent version due to the time stamp, although it was using an older version. The suggested workflow was to removed the linked CSV from the media folder in Connect and republish the survey. That way the field app can handle resolving the timestamp differences with the linked CSV, and the timestamps for the content in the Form Item's Media folder would be independent from the linked CSV. Thank you, Zach
... View more
03-25-2021
02:37 PM
|
0
|
7
|
6309
|
|
POST
|
Hello @JovanaBurz, From the Survey123 featureReport REST API side of things a developer license isn't required any named user who is authorized to perform whatever task is requested can submit requests to the featureReport REST API. The biggest thing the featureReport REST API requires is a token from that user. In the sample app on GitHub I used a quick and dirty method of passing the token into the embedded URL. This isn't ideal because then that would require the token in the embedded URL to be updated every time it expires. Thank you, Zach
... View more
03-25-2021
02:32 PM
|
0
|
0
|
4497
|
|
POST
|
Hello @kkatashuk, Thank you for confirming an MDM is in the equation. I'm adding my colleague @Anonymous User for visibility, I've mainly seen issues with MDM's and ArcGIS Enterprise but this is the first I've seen with ArcGIS Online. A couple of additional things to check would be if the colleagues who are running into the issue, if their MDM profile is configured the same as yours. Also it may be helpful to check if IT needs to add www.arcgis.com to the allow list for the firewall on those users profile. May we also ask what MDM provider you are using? Thank you, Zach
... View more
03-25-2021
08:32 AM
|
0
|
1
|
4541
|
|
POST
|
Hello @NicolasKleinEF, Survey123 uses attachment "keywords" to map which attachment is associated with what image question in the survey. Please use this link for more information on how Survey123 works with attachment keywords. As for the behavior being fixed with 10.8.1 that is for hosted Feature Services in ArcGIS Enterprise 10.8.1 registered Features Services from an Enterprise Geodatabase still have some more configuration as Survey123 can't manage the database data as it isn't coming from ArcGIS DataStore. ArcGIS Pro recently created a Geoprocessing tool to upgrade attachment tables so that they support attachment Keywords. After running the upgrade attachment tool your attachment table should support keywords now, meaning new images collected should have keywords associated with them and should work with Survey123 Reports, but the old images won't have keywords. The Support KB article above (1st link) provides a workflow for updating the attachment keywords for existing data, but the Survey123 team has been working on a Python script that will automate this process. I have attached the script below, but please note that the script is still in development so it is highly recommended to make a copy of the production data and test the script on that data before running it on the production data. Since the script is still in development it is still pretty limited in it's functionality. The script assumes 1 of 2 scenarios. A) there is only 1 image question in the survey, will ask for the keyword, and will apply that keyword to all images in the attachment table. B) if there are multiple image questions in the survey the script assumes the name of the image is <attachmentKeyword>-<timestamp> (which is the default attachment name if it was submitted in the Survey123 Field App) in which the script will read the attachment keyword from the image name and use that. Please let me know if you have any questions or run into any issues and I'll be happy to schedule a call to take a look into it. Thank you, Zach
... View more
03-24-2021
07:31 PM
|
0
|
0
|
1543
|
|
POST
|
Hello @CodyClemenson, Do any of your choices have a greater than or less than symbol in them that you are using in your rules? Thank you, Zach
... View more
03-24-2021
07:10 PM
|
0
|
0
|
1252
|
|
POST
|
Hello @JovanaBurz, We have the featureReport REST API documented in our developer documentation. Using the Report API you can create a custom application that sends requests to the API and generate Reports. I have a little sample application in GitHub that can be embedded into an Operations Dashboard and used to create Reports directly within the Ops dash. Please feel free to take it and customize it to your needs. As of now I had to manually pass the token in through a URL parameter because using the ArcGIS API for JavaScript IdentityManager threw error messages when the app was embedded in Operations Dashboard. Thank you, Zach
... View more
03-24-2021
07:05 PM
|
1
|
2
|
4505
|
|
POST
|
Hello @kkatashuk, I had tested on an iPhone 7 running IOS 14.0.1 as well as an iPhone 8+ running IOS 14.4.1 and the behavior wasn't reproduced on either device. Are the devices where the behavior is encountered personal devices or company devices running a MDM? If you have them select "Continue without signing in" > select the hamburger icon on the top right of the Survey gallery page > Settings > Diagnostics > enable diagnostic logging > then select back twice to go back to the Survey gallery page > select the hamburger again and select Sign in while logging is enabled. Is the same behavior observed? If so would I be able to obtain a copy of the diagnostic log that is created? Please feel free to email it to [email protected] if placing it on Esri Community is not preferred. When the white screen is observed if they select the gear icon on the top right of the screen does the connection say ArcGIS Online? If you try adding a connection and specifying your specific ArcGIS Online Organization is the same behavior observed? The URL will be something along the lines of https://<yourOrg>.maps.arcgis.com. Thank you, Zach
... View more
03-24-2021
06:57 PM
|
0
|
3
|
4551
|
|
POST
|
Hello @DustyJordan, Thank you for passing along the CSV! If you open the CSV in a text editor like Notepad or Notepad++ you can see that there are a number of extra commas (indicating empty columns) in the CSV. I had opened the CSV and deleted empty columns N-X which removed the extra commas from the CSV. When the CSV was updated and the extra commas were removed after republishing the survey it worked as expected. I was also able to reproduce the behavior in Connect 3.12, just to confirm are you using the 3.12 version of Survey123 Connect? Thank you, Zach
... View more
03-23-2021
10:13 AM
|
0
|
1
|
8054
|
|
POST
|
Hello @SPGilbert, If you are seeing the behavior on an Android device we have BUG-000137186 logged for the behavior. Thank you, Zach
... View more
03-17-2021
10:48 AM
|
0
|
0
|
1572
|
|
POST
|
Hello @DougBrowning, Thank you for reporting this! I've gone ahead and logged an issue in our database for the behavior. From my testing the behavior seemed specific to Note question types. If I switched the relevant note question to a calculate question the behavior was no longer reproducible. Another workaround would be to double up on the relevant statement in the calculation. For example if(selected(${s1}, 'yes'), 1,0), this will also prevent the calculation from returning a value. Thank you, Zach
... View more
03-16-2021
04:06 PM
|
1
|
0
|
1488
|
|
POST
|
Hello @DougBrowning, Thank you for reporting this! The issue is specific to using the body::esri:visible column mixed with repeat counts. I've gone ahead and logged an issue in our internal database for this behavior. A couple of workarounds could be: - Move the expression from the body::esri:visible column to the relevant column, or move it to the body::esri:visible column of the repeat instead of the group. - Keep the body::esri:visible expression where it is and change the required statement from "yes" to the same expression as the body::esri:visible expression. Thank you, Zach
... View more
03-16-2021
04:03 PM
|
1
|
0
|
1487
|
|
POST
|
Hello @JamesBailey, To define the number of repeats you would use a repeat count. One thing to note on repeat counts is all repeats defined by the repeat_count value must be navigated through before the survey response is submitted; otherwise, not all repeat records will be submitted. To ensure that all repeats are submitted, consider making questions required in your repeats. I have attached a zip file that contains a sample that uses pulldata to define the repeat count based on the filter status. Thank you, Zach
... View more
03-15-2021
10:01 AM
|
0
|
0
|
1953
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 06-04-2026 03:20 PM | |
| 1 | 05-22-2026 03:26 PM | |
| 1 | 02-27-2026 02:55 PM | |
| 6 | 12-17-2025 01:51 PM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|