|
POST
|
Hello @ZacharySutherby I used the external choice list method as advised but it looks like the selection list is not updated properly. To test, I overwrite the csv manually and also used Python API. This is what I did. 1. Survey has been published. 2. Created a csv file for external choice and uploaded on AGOL. 3. Downloaded csv within Linked Content and republished the survey. --> I can see the new list from csv. ------- 4. Overwrite csv manually with new file from the hosted table published. 5. Checked the survey. The selection list has not been changed. ------- 6. Updated some values (name/ label) in the csv table from Data page on AGOL directly. 7. Checked the survey. The selection list has not been changed. ------- 8. Overwrite csv automatically using the sample Python script. 9. Checked the survey. The selection list has not been changed. ------- 10. Republished the survey. The selection list has not been changed. ------- 11. Downloaded csv in Linked Content (updated from previous steps) and republished the survey. Then the list has been updated. Based on my observation, I need to open Survey123 Connect and download csv within Linked Content? I am not sure if I am missing any step. What I ideally like to see is that the list can be updated by end users who does not have the survey123 connect installed. There will be multiple of this survey and I won't be able to support in updating list in a timely manner. Cheers, Kerry
... View more
04-06-2021
10:40 AM
|
0
|
2
|
6302
|
|
POST
|
Hi @ZacharySutherby thank you for providing the alternative solution. I have not user the external choice but it sounds actually very efficient. I will take a look at the url and the sample script. Cheers, Kerry
... View more
03-30-2021
08:07 PM
|
0
|
0
|
6340
|
|
POST
|
Hello all, I have a survey that requires frequent update on the choice list. Since the survey content may need to be managed by actual users who are not familiar with Survey123 connector at all, I hope to find a way to do it using Python API. My idea is that the Python script is stored in Notebook on ArcGIS Online so it can be managed on cloud environment easily and people with the permission can access. Has anyone used Python API to do this? Thank you. Kerry
... View more
03-30-2021
02:01 PM
|
0
|
9
|
6399
|
|
POST
|
Hello all, I am trying to use Power Automate to make pulldata Javascript function work for offline collection by setting up an HTTP request. In my survey, the x, y values of geo-point are passed to the js function that gets the attribute values of the overlapping polygon. For offline use, this is the url that I used in the HTTP action to search the intersect polygon, and get its attributes. (x and y are from the survey, token is from another HTTP action requesting token). https://services1.arcgis.com/.../FeatureServer/0/query?f=json&geometry=x,y&geometryType=esriGeometryPoint&inSR=4326&spatialRel=esriSpatialRelIntersects&outFields=*&returnGeometry=false&returnCount=1&token=token In Parse Json output, I see the results (overlapping polygon's attributes) that I expected, but I eventually got the error message in the HTTP input to push the data to the feature layer but nothing happened. Parse Json output HTTP Input. The values I want to get are empty, and show 400 error message. ==> I don't see the error anymore but the attributes are not updated although it says 'success'. {"error":{"code":400,"message":"Cannot perform operation. Invalid operation parameters.","details":["'features' parameter is invalid","Invalid JSON primitive: ."]}} I just added email notification after Parse Json to check if I can get the values directly in the email body, and it seems empty. Did I miss any steps after Parse Json? Maybe that's why I see nothing in HTTP input? @IsmaelChivite , @JamesTedrick Is there any limitation in Power Automate to get the feature service query result in Json? I used the almost the same approach in Integromat and it worked out. Thank you. Kerry
... View more
03-08-2021
10:41 PM
|
0
|
0
|
1186
|
|
POST
|
Thanks Phil! This should work for my scenario. Kerry
... View more
03-06-2021
11:15 AM
|
1
|
0
|
1594
|
|
POST
|
Hi @sallismael Thank you for the information. Earlier I tried using 'condition' action after the survey but it did not work for me. Without 'condition' the rest of flow worked but it does not run at all after I added 'condition' part. I typed 'Offline' directly in the value area. Do I miss something? Kerry
... View more
03-05-2021
11:28 AM
|
1
|
0
|
2822
|
|
POST
|
Hello all, I am trying to set up webhook in Power Automate that works when users select 'Offline' to the question called 'Online_offline'. 1. I tried condition module and the flow did not run at all. I used 'Question..' equal to 'Offline'. 2. I added condition directly under Survey123 setting, and the flow did not run either this time. Has anyone done applying condition in Power Automate successfully? Kerry
... View more
03-05-2021
10:22 AM
|
0
|
3
|
2868
|
|
POST
|
If those 1029 sites locations are permanent, you can prepare their x y location in csv and using pulldata to grab x y and send it to geopoint to create a new point. For users you may want them to select by region or city names. E.g. 1. Select region narrows down town names. 2. Town name narrows down campsite names. 3. When users select a camp site, it searches x y value from csv using pulldata and send xy to geopoint. Kerry
... View more
03-04-2021
11:37 PM
|
1
|
0
|
1578
|
|
POST
|
Hello all, I have a scenario that ran successfully in Integromat, and now I tried to make it work in Power Automate. In my scenario, an http request is sent to the 3rd party geocoder API, and it retrieves the city and address information, and post it back to the feature layer. I used 'pulldata('@property', 'token') to get the token information and used it in the update url (image below). When I ran the scenario, it says it ran successfully, but two fields above (locality/ address) are still empty. If I check the output status in Power Automate module, it says 'invalid token'. The input area shows the values I expected to see. I am aware that we can retrieve token through another http module by providing specific username and password, but I expect this survey is being shared with multiple users. So, I hope to keep using 'pulldata' within the survey to get the token information. Could you someone advise me if I missed anything for this setup?
... View more
03-04-2021
11:06 AM
|
0
|
3
|
2671
|
|
POST
|
Hello all, I created a survey that brings up different questions depending on what users answer to 'Are you in online or offline environment?'. It would be handy if there is a way that the survey can detect it and control questions directly from its status. Any experience or thoughts? Kerry
... View more
03-02-2021
04:23 PM
|
0
|
2
|
1690
|
|
POST
|
Thanks @Anonymous User ! It would be really handy when that functionality comes in Arcade and Field Maps. That may address some challenges with Survey123 (published with Connect) that any changes in url/syntax need to be made within xls form, not on AGO environment or feature layers/maps directly. Kerry
... View more
02-26-2021
08:35 AM
|
0
|
0
|
2051
|
|
POST
|
Hi @ColinLawrence I am interested in this topic. Is it possible to store the address in the field? also is it possible to use other geocoding api within Field Maps so that it does not consume credits? Kerry
... View more
02-25-2021
12:40 PM
|
0
|
5
|
3629
|
|
POST
|
Hello all, I am curious if upcoming 'calculation' or 'attribute rule' allows user to communicate through http services. I have a survey123 form that uses pulldata @ javascript and @ json to get geocoding results from the 3rd party API (like sending a request through url outside of Esri). Survey123 is great but it's not the best for offline use for my workflow at this moment, so I want to see what's possible with Field Maps functionalities. Kerry
... View more
02-25-2021
12:15 PM
|
1
|
3
|
2125
|
|
POST
|
That's great! One more tip, after you publish the survey, you can change the type of two additional question to 'hidden' (I assume you used 'text'), the re-publish it. Then they won't be displayed for end users. Kerry
... View more
02-25-2021
10:47 AM
|
0
|
1
|
7548
|
|
POST
|
@JamesTedrick As work around, I used pulldata @javascript function to send a request to the geocoder server and could extract the address (I referenced open weather api sample code); I assume this does not charge any credits? however I am not sure if it can be used during offline. This app will be used in offline areas most. Kerry
... View more
02-25-2021
10:13 AM
|
0
|
0
|
2561
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-14-2020 02:08 PM | |
| 1 | 04-22-2021 11:02 PM | |
| 1 | 01-15-2024 05:16 PM | |
| 1 | 04-18-2024 08:25 AM | |
| 2 | 03-01-2024 11:09 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|