POST
|
Hi Chris, Tried the first option and it worked! Not essential for me to keep use the preexisting hosted feature layer. Thank you so much!
... View more
10-19-2020
04:02 PM
|
1
|
0
|
1596
|
POST
|
Hi Chris, Thanks for your response! Yes, the form_id column in my survey does match the polygon layer in my ArcGIS Online hosted feature layer. However, my hosted feature layer only has the polygon layer, not a related table to go with. I was under the impression that this would be created for me in ArcGIS Online upon publishing of my survey (since I see no way to add a table to a hosted feature layer in ArcGIS Online), but is appears that this is not the case. I also tried creating a separate hosted table in ArcGIS Online (with same name as my repeat) and putting its form_title, form_id, and submission_url information in the settings tab in my XLS form. Still no luck. Any other tips would be greatly appreciated! Thanks. Colin
... View more
10-16-2020
08:21 AM
|
0
|
2
|
1596
|
POST
|
Hello, I'm trying to publish a survey that includes a repeat group for a select_one type question, but it will not publish because it cannot find the submission_url for the related table (which I assumed would be created in the process of publishing the survey). I keep receiving the following error when attempting to publish: "The custom feature service submission_url is not compatible with this survey. Table XXX not found". I don't feel like what I'm trying to do is very difficult, yet I cannot find any documentation that answers my question. And I can't figure out how to add a related table to my feature layer. Any help would be greatly appreciated. - Colin
... View more
10-11-2020
06:00 AM
|
0
|
4
|
1704
|
POST
|
Hi Phil, Thanks for the help! Sure enough, I tried republishing it and got the results I wanted. Still not sure where the field mismatch was, but it probably didn't help that I tried to add the calculate fields in my feature layer after already creating the survey. Regardless, I'm so glad that it's working now. And I appreciate the details regarding calculate and hidden field types - that cleared it up for me. Really appreciate your help! Colin
... View more
08-22-2020
05:03 AM
|
1
|
0
|
3856
|
POST
|
Hi Phil, Attached is my most updated version of the form. I kept tinkering with some of those things I had already mentioned above, but the calculations still do not show up in the form nor my ArcGIS online feature layer. Do I need to set the field type to calculate to get the calculations to work properly? At least for now, I would like to be able to view those calculated fields in the form, but the calculate field type automatically hides it. Another thing that I thought of that could be part of my problem: I added the calculate questions to the survey AFTER populating the form with my ArcGIS Online feature layer, then went into ArcGIS Online and added the appropriate fields to match what was entered in the survey. It still publishes fine and they are both integer field types. Do I need to go back and re-create the form from a new feature layer?
... View more
08-13-2020
09:20 PM
|
0
|
2
|
3856
|
POST
|
Hi Phil, Thanks for the reply. I'm very much a novice with this, so I really appreciate your help. I tried your suggestions, but I still can't manage to get things to work. If the select_one and select_multiple questions in my survey are strings, that's fine. All I want is the separate calculation fields (integer) to run a conditional statement on those select_one / select_multiple questions and, if that certain response was selected, to add a value to the field. So my calculation fields should only contain numbers, not a blend of string and number fields. The basic syntax I have looks like: int(if(selected(${question}, 'abc'), 5, 0)) + int(if(selected(${question}, 'def'), 5, 0)) + ... My calculation fields are set to integer type in both the survey and the hosted feature layer and in the survey, bind::esri:fieldType is set to esriFieldTypeInteger and bind::type is now set to int. What else I tried: replaced the number function with int function in my calculation fields, removed quotations around the numbers in my calculations (e.g. they were '5' before where they are simply 5 now), used the coalesce function before the calculation, and tried to change the bind::type in the select_one and select_multiple questions to int (got an error message preventing me from converting the form). I must still be missing something!
... View more
08-06-2020
11:08 AM
|
0
|
4
|
3856
|
POST
|
I have a survey with numerous string fields (select one and select multiple questions) and want to create an integer field that provides a score based on what was entered into those string fields. In Survey123 Connect, I successfully set up conditional statements to assign these scores and the calculations appear to work correctly in the form preview. The calculations don't show up on my mobile device when I'm filling out the form, which is a little disappointing but from what I understand is just a limitation of using calculations in Survey123, but the REAL problem is that these calculations don't even show up in my ArcGIS Online feature layer after I've submitted (all other fields do). I have attached my XLS form and can share my hosted feature layer if that helps with problem-solving. Thanks! James Tedrick
... View more
08-05-2020
10:51 AM
|
1
|
6
|
4001
|
Title | Kudos | Posted |
---|---|---|
1 | 10-19-2020 04:02 PM | |
1 | 08-22-2020 05:03 AM | |
1 | 08-05-2020 10:51 AM |
Online Status |
Offline
|
Date Last Visited |
03-20-2021
09:53 AM
|