POST
|
Hello @MillerDerek, The URL looks to be formatted correctly, one thing to check is the <<item name>> is encoded for example "Test survey" vs "Test%20survey". If it's a web designer survey you may need to use https://www.arcgis.com/sharing/rest/content/items/<itemID>/info/form.json?f=json&token= Are you obtaining your /generateToken from an automated API call or from the Survey123 website? One thing you can test is setting the referer to https://survey123.arcgis.com/surveys. You can also see the request if you access the Collaborate tab in the Survey123 website you can filter the network traffic based on .info and it should return the request that Survey123 makes. This note shouldn't play a role in the error observed, but I'll note not all surveys will have a webformInfo section in the .info file. If the survey was published from Connect it may or may not have it.
... View more
|
0
|
1
|
83
|
POST
|
Hey @MillerDerek, There's a few aspects to this and depends on where you're looking to use the information. You can control "accepting responses" on both the Survey123 form item side and/or the feature service side too. So depending on where you're looking to control this depends on where you'll need to look. From the Survey123 form item side you have the ability to set a survey status in the Survey123 website to open or closed. Closed being not accepting responses and open being accepting responses. With this though it doesn't control anything on the feature service so the survey can be "closed" but the feature service could still be pulled into a web map and edited. This open/closed status on the Survey123 form item is stored in it's .info file which isn't exposed through the item properties like you see in the ArcGIS API for Python. You can access the .info file through the sharing/rest URL by accessing: https://<webContextURL>/sharing/rest/content/items/<surveyItemID/info/<surveyName>.info?f=json&token=<validAccessToken> The open/closed status will be under webformInfo -> settings -> openStatusInfo -> status On the feature service side you can also check if add/update/delete capabilities are set on the service. Not sure what your full use case is but if you're looking to use an open/closed status in the Survey123 field app, the field app doesn't support the setting from the website, but what you can do is use a custom JavaScript function (assuming the survey isn't to be shared publicly) to query the sharing/rest endpoint, obtain the status, then set up a constraint based on the status to prevent submission.
... View more
|
0
|
3
|
90
|
POST
|
Hello @KerryKang, The feature service used for the pulldata("@layer") lookup may not have query enabled on it. As an admin in the org you have the ability to query all data but other users do not. Please check the "What features can editors see" setting on the service, if it's set to "Editors can't see any features, even those they add" or "Editors can only see their own features" your colleague may not have access to the data in the service.
... View more
Thursday
|
0
|
1
|
45
|
POST
|
Hey @RobertAnderson3, I've logged this feedback as something for us to investigate if it's possible to support in the future. Please feel free to reach out to Esri Technical Support to log an official Enhancement to track progress on the feature.
... View more
2 weeks ago
|
2
|
0
|
48
|
POST
|
Hello @ModernElectric, The pulldata("@layer") function returns the result from the Query REST API, which will only return domain codes and not labels. To obtain the domain label a queryDomains API call would need to take place and match the code returned with the code in the response of the queryDomains request. I've logged feedback internally to investigate if this is something we can add to the pulldata("@layer") function in the future. At this time to return the domain label you can do a couple of things: - Use a custom JavaScript function to do the queryDomains REST API call and return the matched domain label - Duplicate your domain as a choice list in the choices worksheet of your XLSForm, set the question you are doing the pulldata("@layer") lookup to a select_one question so the result from the lookup matches a choice name in your choices worksheet, then in your original question you need to return the label use the jr:choice-name() function to return the label from your choice list.
... View more
2 weeks ago
|
1
|
1
|
40
|
POST
|
Hello @Polesig, Just to confirm are you able to get to the Android/data/com.esri.survey123/files/ArcGIS/My Survey123/Logs and there's nothing there or are you only able to get to the Android folder and not data? With Android 11 Google locked down access to apps data (the Android/data folder) and it became more constrained in Android 13. We have BUG-000165596 logged regarding sharing diagnostic logs in Survey123 not being able to get to the My Survey123/Logs and are investigating a solution. To work around the issue you can connect the device to a PC and access the folder from Windows File Explorer.
... View more
2 weeks ago
|
0
|
0
|
43
|
POST
|
Hello @KellyTaylor, Would you be able to pass along the XLSForm for troubleshooting? You can also enable diagnostic logging prior to opening the survey, would it also be possible to obtain a log when the behavior occurs?
... View more
2 weeks ago
|
0
|
0
|
48
|
POST
|
Hello @RHammers, It wouldn't be in a single line the calculation would need to go in it's own question so that value can be referenced in the event select_one question. The separate question can be a calculate question type that is not visible on the form and is only used to store calculations on the back end. Another good resource to see how to summarize data using pulldata("@layer") in XLSForm is the Query a feature layer sample available in Survey123 Connect.
... View more
2 weeks ago
|
0
|
1
|
142
|
POST
|
Hello @SMH-Rio, It's not a connectivity problem it is a known issue in Survey123, we have an internal issue logged to address this in the future but unfortunately don't have a timeline at this time. It doesn't look like there is an official Tech Support BUG logged for this behavior. Please feel free to reach out to Esri Technical Support to log a BUG and track progress on the issue.
... View more
2 weeks ago
|
0
|
1
|
30
|
POST
|
Hello @MaryGraceMcClellan, Here is a sample that calculates the vertex for a specified index, but this index can be hard coded vs dynamically passed in from the survey.
... View more
2 weeks ago
|
1
|
2
|
97
|
POST
|
Hello @mikAMD, You would need to add a new field in your feature service and field calculate the concatenated value. The search() appearance can only use one field as the label in the choices worksheet.
... View more
2 weeks ago
|
0
|
3
|
70
|
POST
|
Hello @RHammers, You can use pulldata("@layer") to query the feature service your survey points to and return the count of the number of records that match the specific event. For example, if someone selects Event C the pulldata("@layer") function would query the data and return the number of records that have the value Event C. You can then configure logic in your survey so that if that number is 25 or more then there's a constraint on the event select_one question preventing the user from submitting. Please see the Request parameters section of the Query a feature layer documentation for more information on how to return the count.
... View more
2 weeks ago
|
1
|
1
|
170
|
POST
|
Hello @GaryBowles1, The quotation marks in your outStatistics string is throwing off the URL string. pulldata("@layer", "getValue", "attributes.field1", "https://gis.srcx.com/server/rest/services/APPS/APPS_RUN_LOG_BINGHAM_MR/FeatureServer?outStatistics=[{"statisticType": "avg","onStatisticField": "field1","outStatisticFieldName": "field1_avg"}]) You'll need to use something like: pulldata("@layer", "getValue", "attributes.field1", 'https://gis.srcx.com/server/rest/services/APPS/APPS_RUN_LOG_BINGHAM_MR/FeatureServer?outStatistics=[{"statisticType": "avg","onStatisticField": "field1","outStatisticFieldName": "field1_avg"}]')
... View more
3 weeks ago
|
0
|
1
|
33
|
POST
|
Hello @NkatekoMARIMA, You will need to append your existing data to your ArcGIS feature service that was created when you published your survey. You can append data directly from the item details page of the feature service, or by using the append geoprocessing tool in ArcGIS Pro.
... View more
3 weeks ago
|
0
|
2
|
100
|
POST
|
Hello @AllisonWebb, The username variable is the only dynamic variable that can be used in an inbox query.
... View more
3 weeks ago
|
0
|
0
|
97
|
Title | Kudos | Posted |
---|---|---|
1 | 06-22-2022 12:51 PM | |
1 | 2 weeks ago | |
1 | 2 weeks ago | |
2 | 2 weeks ago | |
1 | 2 weeks ago |
Online Status |
Offline
|
Date Last Visited |
an hour ago
|