|
POST
|
Hi Dan, When I said I "couldn't do it with a table" I was referring to using updateCursors instead of the CalculateField method. The table I am trying to run the field calculation on is a many to one join.
... View more
12-05-2021
10:06 AM
|
0
|
0
|
4018
|
|
POST
|
Hello, I am trying to use arcpy's CalculateField method on a table with a join on it. (it is my understanding that because of this, I can't use update cursors). I know the script is producing the correct results when it comes to calculating the dominant values in the list (confirmed with several print statements throughout the script) but it's just the bit at the very end that is not working the way I expected. When I run the script, only one feature gets calculated with all "Y" in the related records, and all the other features calculate with "N" in the related records. This is the segment of the script that is giving me trouble. I'm happy to provide the full script if that would be necessary. with arcpy.da.SearchCursor(stratum_layer, PERC_COVER_FIELD) as cursor:
for row in cursor:
if int(row[0]) in dom_list:
arcpy.management.CalculateField(stratum_layer, DOM_SPECIES_FIELD, "'Y'", "PYTHON3")
print(f"{int(row[0])} is dominant")
else:
arcpy.management.CalculateField(stratum_layer, DOM_SPECIES_FIELD, "'N'", "PYTHON3")
print(f"{int(row[0])} is not dominant") This was written with Python 3.7 and executed with a script GUI in ArcGIS Pro 2.8.3
... View more
12-05-2021
06:35 AM
|
0
|
7
|
4064
|
|
POST
|
Phil, Updating the version of the field app on my iPad resolved the issue! Thank you for your help! Best, Katherine
... View more
11-19-2021
02:31 PM
|
1
|
0
|
3577
|
|
POST
|
Hi Phil, thanks for your response! I am using Survey123 Connect version 3.12.232. The field app version 3.10.326 on an iPad (7th generation). For the appearance, it's just w5, as shown in the screenshot. I've tried adding horizontal/compact etc but it hasn't fixed things. I've attached the XLS form and media folder, as you requested. Thanks again!!
... View more
11-18-2021
04:31 PM
|
0
|
2
|
3583
|
|
POST
|
Hello, I've created a survey using Survey123 Connect, and for a select_one question, it displays fine using the "Tablet_Portrait" appearance mode in Connect. The options are stacked vertically. However, when I open the survey using the Survey123 field app on my iPad (the same type of device that our employees will use in the field), the question displays differently, with the choices displaying horizontally and the text is compressed. I am using the "pages theme-grid" style. I've tried different variations of compact, horizontal-compact etc but haven't found anything that will make it display the way I want on the tablet. Here is what the layout currently looks like for the page: Any ideas why the version on the iPad doesn't match the preview in Survey123 Connect? And if so, how can I get the select_one options to always stack vertically? Thanks!
... View more
11-10-2021
08:48 AM
|
0
|
4
|
3669
|
|
IDEA
|
I very frequently intentionally leave out labels for certain rows in my XLSForm in order to create my desired UI for the survey. When I refresh the survey, Connect always shows me warnings for this which I have to click "Ok" on every single time. It's a small thing, but it would be nice if there was some kind of option to "Do not show this type of warning again during this session", or something like that.
... View more
11-10-2021
08:23 AM
|
3
|
0
|
773
|
|
POST
|
Hello, I know this thread is older but I stumbled on it when I was troubleshooting something in a survey and wanted to post a link to some useful esri documentation on empty values. Particularly relevant to this particular post: Empty values for integer and decimal questions are represented as NaN (not a number). This is a special value that represents the absence of a valid value. The NaN value compared to any other value is only true in a calculation of an is not equal value comparison. All other expressions result in false. Hope this maybe helps someone!
... View more
10-01-2021
12:44 PM
|
0
|
0
|
3860
|
|
POST
|
Interesting, but good to know I'm not the only one who experienced it! I'll start using the site search function more often, then.
... View more
07-19-2021
02:13 PM
|
0
|
0
|
5610
|
|
POST
|
Has anyone else had this issue? It happens all the time with the new Esri Community site (compared to the old Geonet) where if I click on a link to a particular thread, it always just directs me to the homepage the first time. I most often access these links through a Google search. Often, going back and clicking on the link again will direct me to the proper post, but occasionally it will take multiple attempts. Is this a known issue and is there anything I can possibly do to correct it? Thanks!
... View more
07-19-2021
12:53 PM
|
1
|
9
|
5631
|
|
IDEA
|
I agree completely, it kind of seems like a no-brainer in terms of functionality and I'm guessing/hoping they had planned to have it supported in a near future release? But yes, it's a critically important functionality to allow for customized pop-ups!
... View more
07-14-2021
06:40 AM
|
0
|
0
|
9108
|
|
POST
|
I agree, Doug. It would be super useful to be able to organize surveys. This is a stupidly simple workaround and you've likely already thought of it, but you could use thumbnails to help distinguish the title of the survey, since your naming convention is too long to be able to see any unique information. I also couldn't find an existing idea for this so I created one: https://community.esri.com/t5/arcgis-survey123-ideas/add-the-ability-to-organize-surveys-in-survey123-connect-and/idi-p/1072027 EDIT: Apologies, I apparently was incompetent with my search efforts. I also found this idea: https://community.esri.com/t5/arcgis-survey123-ideas/survey123-form-organization/idi-p/939747
... View more
06-24-2021
07:36 AM
|
0
|
1
|
3691
|
|
IDEA
|
EDIT: Apologies, I realized after creating this idea that there is a similar one here Maybe this duplicate idea will help get this more traction though! It would be extremely helpful to be able to organize surveys in Survey123 Connect and survey123.com, either through folders or section headers or something similar. As someone who has authored dozens of surveys (and there are others out there who have made hundreds!) I know it can start to get very cumbersome to navigate to the correct survey, especially since the entire survey title does not display if it is beyond a certain character limit. Here are two related posts on this topic: https://community.esri.com/t5/arcgis-survey123-questions/organize-surveys-is-there-a-way-to-group-surveys-into-sections/m-p/774608#M4687 https://community.esri.com/t5/arcgis-survey123-questions/survey123-connect-directory-folder-structure/m-p/793614
... View more
06-24-2021
07:35 AM
|
17
|
5
|
3282
|
|
POST
|
I am also getting this error working with a Survey published to ArcGIS Online. It returns a 504 error when checking the template syntax even from the sample template. Were you able to find any kind of resolution? (The table workaround mentioned above didn't seem to work for me)
... View more
06-21-2021
12:51 PM
|
1
|
0
|
6650
|
|
POST
|
Thanks for your reply, Phil! I appreciate it. I found an idea that already existed for this topic so I commented on it. https://community.esri.com/t5/arcgis-survey123-ideas/set-favorite-answers-for-repeats/idc-p/1069354#M1568
... View more
06-17-2021
07:16 AM
|
1
|
0
|
3147
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 3 | 2 weeks ago | |
| 6 | 2 weeks ago | |
| 1 | 2 weeks ago | |
| 44 | 2 weeks ago |
| Online Status |
Online
|
| Date Last Visited |
Wednesday
|