POST
|
This doesn't work for me either. Any updates on this would be appreciated!
... View more
02-02-2022
05:10 PM
|
0
|
0
|
1414
|
BLOG
|
Hi @HelenZhou! I'm not sure how to do this with JavaScript but that would be very interesting... Another approach would be to use the search() in the appearance field as described here: https://community.esri.com/t5/arcgis-survey123-blog/dynamic-choice-lists-using-search-appearance/ba-p/1060838 You can reference a feature service or table and can add filter parameters... it's quite slick but be warned, that it seems to have some problems when utilized within repeats.
... View more
12-09-2021
03:04 PM
|
1
|
0
|
3452
|
POST
|
Do you mean that you are struggling to get all of the required address information into a correctly formatted address (as shown) to display to the user in a note field or something? It looks like from your screenshot, that some of your info may be incorrect (e.g., "attributes.PANAME" should be the owner according to your survey but it is returning the value "NEW BERN-CITY OF". Is that correct?). I'm probably missing something! In the past, I've done similar stuff by just writing another JavaScript function to handle and format that the output. Maybe something like the snippet below and then pass your attributes in another pulldata JS call? function formatAddress(address, city, state, zip){
return `${address}<br>${city}, ${state} ${zip}`;
}
... View more
12-08-2021
11:39 AM
|
1
|
0
|
955
|
POST
|
I'm not sure if I understand your use case clearly but it sounds like you are using Survey123 to create a data service (feature service or table) with a lot of fields and you want to be able to summarize the data you collect in a report (e.g., MS Word)? Are you familiar with S123 Feature Reports? They work pretty well and you can make a MSWord template for individual features or the entire dataset. You control which fields you include in your report. Good luck!
... View more
12-08-2021
11:19 AM
|
0
|
0
|
844
|
BLOG
|
@KristinThorpe1 Hi! I am having a similar problem. I have a search() to pull choices from a feature service table. It includes parameters to filter the choices by matching another field in my survey (not in the repeat). Everything seems to work (filtered choices are returned) as expected for the first record in the repeat but in the subsequent records, the filter parameters are ignored. Have you been able to resolve your issue? Do you have any ideas to share?
... View more
12-08-2021
11:06 AM
|
2
|
0
|
25678
|
POST
|
Hi @DougBrowning ! Thank you for your speedy reply! The field that I want to include is a string and I was hoping to use the sum() function to concatenate across the repeat to create a nice text list. I tried setting the bind::type to string but that didn't work either. Any other thoughts? Thank you!
... View more
12-07-2021
08:21 AM
|
0
|
1
|
552
|
POST
|
Hi All, I have a survey where the user may enter many records in a repeat. At the very end of the survey, prior to submission, I would like to include a summary note for the user to be able to quickly review some of their data without clicking back through the repeat. Do do this, I simply added a hidden field in the repeat where I concatenated the field I want to put in the summary with a comma and space for readability (concat(${uselocation_name}, ', ')). At the end, outside of the repeat, I added a summary calculation field (sum(${locationNameCalc})), where all the values are added together. This looks fine in Connect but when I publish the survey and test it, the summary note simply shows NaN. I have set the bind::esri:fieldType to null as I don't want to save this in my feature service. Anyone have any insight into this?
... View more
12-07-2021
08:07 AM
|
0
|
3
|
560
|
POST
|
Hi All, I wrote a JavaScript function to return a string list of unique values from responses within a repeat. The idea is to present the user with summary information that they can review prior to form submission. The JS function takes a sum of repeat responses as a concatenated string and returns a string with only the unique values. Everything works fine locally but when I publish the survey, I get NaN returned from the function. Here is my function that I have tested in the script editor and verified that it works in Connect. function getUniqueValString(inputStringArray){
// convert to array without the comma at the end and filter unique using index then mash back into a string to show user
let inputArray = inputStringArray.slice(0, -1).split('*');
const uniqueValues = inputArray.filter((item, idx) => inputArray.indexOf(item) === idx);
return uniqueValues.join('<br>');
} The function works as expected in Connect but not in the webform as shown in the screenshot attached. Any thoughts?
... View more
12-03-2021
10:40 AM
|
0
|
1
|
323
|
POST
|
Hi! Thank you for your good troubleshooting idea. I figured it out and it was a simple fix. When I published the feature service from ArcGIS Pro, I didn't arrange my layers correctly. In order for the parent/child relationship to publish correctly in the HFS, apparently, the layers need to be arranged in ArcGIS Pro so that the polygon (parent) layer is on top of the point (child) layer. After doing this, I was able to create a survey that correctly represented the feature service. That was kind of an unexpected gotcha for me! Thank you! Thanks.
... View more
09-22-2021
05:29 PM
|
0
|
0
|
656
|
POST
|
I am struggling to create a survey with both polygons and related points that targets/edits an existing feature service using Survey123 Connect version 3.13. I am trying to model a dataset where multiple points features are related to (nested within) polygon sites areas and a polygon should be able to have a 1:M relationship with the points. This is to support field surveys of existing sites that contain features and will eventually be populated with existing data. For now, I'm just trying to test this capability. I was able to create a new survey with a polygon/geoshape and repeat geopoints points and now I'm trying to create an existing feature service to see if it's possible to set this up to edit data in an existing feature service. Using ArcPro, I have successfully created a polygon and point feature class with a 1:M composite relationship and published it as a feature service that supports edits with global ID's (I followed these two resources: https://www.youtube.com/watch?v=Fo9tP9qkm8k and https://community.esri.com/t5/arcgis-survey123-blog/how-to-enable-supportsapplyeditswithglobalids-on/ba-p/893977). It's not working. While the test feature services looks correct in AGOL (related data), when I try to build a survey off the related features using Survey123 connect, the related records do not come in the the XLS or form. The survey has only a geopoint and no repeats. I was hoping that I would get a survey with a geoshape question and a repeat containing the geopoints. Does anyone else have experience with this or can anyone advise? Thanks in advance!
... View more
09-20-2021
10:05 PM
|
0
|
2
|
714
|
POST
|
Hi @TanGnar, Sorry to hear that you have run into this as well! In my case, the coordinates that were populated were somewhere off the West Coast of Africa (near 0,0). I went through several rounds with Esri support on this and didn't get anywhere. Apparently, this is being addressed in an enhancement request #ENH-000130296 [ENHANCEMENT] Provide the ability to automatically display pop-ups for selected features in ArcGIS Experience Builder. The extremely tacky workaround that I came up with (I wasn't happy with it), was to put the link to the survey in the feature popup (an anchor tag styled like a button) with the survey link dynamically built using Arcade. Let me know if you want the expression I used. I added a scale dependent label to the map and, when the user selected a feature from the list widget, it zoomed in to the feature on the map, displaying the label which prompted them to click the feature to open the popup... Let me know if that doesn't make sense. It wasn't pretty but it got us going for the season.
... View more
08-30-2021
09:29 AM
|
0
|
0
|
647
|
POST
|
Hi All, I have a workflow where I launch a Survey123 survey by triggering a popup from a web map. To build my Survey123 URL appropriately, I have an Arcade function on a popup in the webmap that converts the selected feature's coordinates to lat/lon and gives me a survey URL. I then embed this webmap in an ExB app and use the Feature Info widget to trigger the popup from either selecting the feature from the list widget or from selecting it on the map. This worked great when I initially set it up in a prototype app but I've tried to replicate it it in another app and something very odd is happening... when I trigger the popup from the map and open the survey, the lat/lon conversion is correct and the survey is just fine.... however... when I trigger it from the list, everything seems fine (i.e., the other fields populate correctly) except that my coordinates are wrong! I suspect that it has something to do with how the map, list widget and feature info widget are connected but I can't seem to find any differences between the working and the non-working app! Any suggestions on approaches to debug this kind of thing would be greatly appreciated!
... View more
06-15-2021
03:08 PM
|
1
|
3
|
744
|
POST
|
Hi All, I have a fire report dataset where each fire has multiple reports associated with it. I have an ExB app where I'd like to show some summary indicators. However, I need to compute summaries from only the most recent reports for each fire. I don't see how to create a data view to get this information. I am feeling rather constrained with only being able to write SQL WHERE clauses to filter data and wish there was some way to include GROUP BY or MAX() to get the most recent report dates grouped by fire id. Can anyone help me think of a workaround for this? Thanks in advance!
... View more
06-03-2021
11:42 AM
|
0
|
2
|
489
|
POST
|
My feature service consists of less than 10 points and it's still slow to load so I don't think this is the best solution. Thanks!
... View more
05-17-2021
04:18 PM
|
0
|
0
|
1792
|
POST
|
Thanks for this 'band-aid' workaround idea! I agree that this is not ideal but it gets the job done so thank you for sharing. @DavidMartinez Maybe the ExB developers could implement customizable error boundaries for ExB users https://reactjs.org/docs/error-boundaries.html? Or at least offer a loading spinner or the like... I have a very small/simple feature service that sometimes takes aaaaaages to load and my users get sad and tell me it's broken! I added a text message like Jay suggested but it's not ideal.
... View more
05-17-2021
04:16 PM
|
0
|
0
|
1792
|
Title | Kudos | Posted |
---|---|---|
2 | 12-08-2021 11:06 AM | |
2 | 11-20-2020 11:32 AM | |
1 | 05-17-2021 02:20 PM | |
1 | 12-08-2021 11:39 AM | |
1 | 12-09-2021 03:04 PM |
Online Status |
Offline
|
Date Last Visited |
03-21-2023
07:22 PM
|