POST
|
I think the way you have it loc_a has an if to prev_loc and that calls loc_a so that is the loop I think. First test just having it show you the value without the calc in loc_a and see if that works. Then go from there. It has been years since I used the code.
... View more
Wednesday
|
0
|
0
|
118
|
POST
|
Yea it cannot be done this way. 123 works with Names as the way to track fields. So it has no idea that FieldA in repeat 1 is different from FieldA repeat 2. I have been working on this for 6 years now with no luck. Lots of posts out there if you want to look around. Only way I kinda got to work was javascript. But for me my repeat was too big. This post here has links to the two options that I have found. https://community.esri.com/t5/arcgis-survey123-ideas/quot-same-as-last-quot-option-for-repeat-records/idi-p/1213432 Hope that helps
... View more
Wednesday
|
0
|
3
|
173
|
POST
|
Is there a reason you are nesting all those concats and not just using one? I see no reason for all of those just do one big one. I would try that.
... View more
Wednesday
|
0
|
10
|
109
|
POST
|
The one posted above should be pretty close. The team here at Community was looking for one also.
... View more
Wednesday
|
0
|
0
|
19
|
POST
|
Have you tried using calculationMode=whenEmpty? https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-calculation-modes/ba-p/1206967
... View more
Wednesday
|
0
|
1
|
87
|
POST
|
Do you mean you want them to line up from the repeat like repeat 1 = label 1? If so I would take a look at this function note it may not like this in the label - if it does not make a calculate field with this code then use that. indexed-repeat(question, repeat, index number) Returns the value from a specific question in a repeat record. For more information, see Repeats. indexed-repeat(${room_no}, ${floor}, 3)
... View more
Wednesday
|
1
|
1
|
74
|
POST
|
Have you tried FeatureSetByName instead? It can get picky. Also the table is in the map right?
... View more
Wednesday
|
1
|
1
|
52
|
POST
|
Have you looked at using Inbox? https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepareforediting.htm
... View more
Wednesday
|
0
|
0
|
17
|
POST
|
You can use count() for this. count(${SomeQuestionInTheRepeat}) > 1 should do it.
... View more
Wednesday
|
1
|
3
|
81
|
POST
|
In the area column I do not think you can list all the options with a comma since it does an exact match search. You need to break this out and list them multiple times, one for each area type. At least I have never seen a comma lookup list work.
... View more
Tuesday
|
1
|
0
|
57
|
POST
|
My last post there https://community.esri.com/t5/arcgis-survey123-questions/mapping-with-survey123-within-a-polygon-or-admin/td-p/836112 lays it all out. Depending on the project I try to make some meaningful id. We prepopulate our points and have pregenerated ids that are usually State_ProjectName_PlotName type format. Others we may visit multiple times I year so there I use Arcade to add a date stamp to the PlotID in Field Maps and then send that ID over. That one is tricker though since in the past since Arcade is not a real field. But now with the FieldMaps form you can Calculate an ID in FM then send that over to 123 via a URL. My formula is Concatenate($feature.PointID, "_", text(ToLocal($feature.FieldEvalDate), "Y-MM-DD")) For past data you can add the new ID field and the calculate the key based on the join using globalid. You would need to get the relationship class in there though and I am not sure how to do that without republishing. So if you are live time this is all of course much harder and it gets complicated from there. Hope that makes sense its a advanced workflow for sure.
... View more
Tuesday
|
1
|
1
|
20
|
POST
|
Update to myself. 2 years later and it is still doing it. I finally found a fix. If you set your count field that has a calc of 1 to also have a default value of 1 then the repeats calc properly.
... View more
Tuesday
|
0
|
0
|
12
|
POST
|
I suggest making a copy of the form and publish that right from 123. Then download that as a GDB and you will see how it wants the structure.
... View more
Tuesday
|
0
|
0
|
35
|
POST
|
No there is no way to do that. A python script after that fact would be about the only way.
... View more
Monday
|
0
|
0
|
58
|
Title | Kudos | Posted |
---|---|---|
1 | Wednesday | |
1 | 01-25-2022 10:35 AM | |
1 | 02-02-2022 07:16 AM | |
1 | 07-25-2022 01:00 PM | |
1 | Wednesday |
Online Status |
Offline
|
Date Last Visited |
Thursday
|