|
POST
|
Hello @DougBrowning, I would suggest reaching out to the folks on the ArcGIS Field Maps community to dig deeper into the issue, or create a case with Esri Technical Support and they will be able to take a look into the issue. Thank you, Zach
... View more
05-27-2021
01:48 PM
|
0
|
0
|
3041
|
|
BLOG
|
Hello @MillerDerek, Thank you for confirming. Prior to cloning, both workflows in the notebook print the items that are going to be cloned. Are you seeing the hosted feature service in that list of items that will be cloned? Are you seeing any error messages in the script after the clone function finishes? If you are, are you seeing the hosted feature service created in your ArcGIS Online content, just the link between the form item and the hosted feature service seems to be broken, or is the hosted feature service not present in ArcGIS Online at all? If the hosted feature service isn't present in ArcGIS Online at all here is a mini python script that you can use to clone just the hosted feature service and see if that works. Thank you, Zach
... View more
05-27-2021
01:42 PM
|
0
|
0
|
8836
|
|
POST
|
Hello @srikanthnamburi3, Can you please elaborate some more on what isn't working? What was returned in the report vs what are you looking for the report to return? Please use this link for the documentation on printing reports: https://doc.arcgis.com/en/survey123/browser/analyze-results/printsurveyresults.htm#ESRI_SECTION1_2A4C07143C8E4147A1FEC9478D22206A Thank you, Zach
... View more
05-26-2021
08:34 AM
|
0
|
1
|
2625
|
|
BLOG
|
Hello @MillerDerek, Cloning from an internal Enterprise organization to ArcGIS Online is a supported workflow. Are you using a registered feature service with your survey (is the service pointing to an enterprise geodatabase)? On the item details page of the Form item created in ArcGIS Online there will be a Layers section halfway down the page. In that Layers section does it have the link to the hosted feature layer in your ArcGIS Online organization? Thank you, Zach
... View more
05-26-2021
08:27 AM
|
0
|
0
|
8860
|
|
POST
|
Hello @PaulCone2, Here is the link to the blog post which contains the updated script. We also host the script and a number of others on our Survey123-tools github repo. As for working with SSO orgs the script uses the ArcGIS API for Python for authentication, please use this link for their documentation on working with different authentication schemes. You would need to create an application in your organization and use the client ID from that application in your GIS connection. Thank you, Zach
... View more
05-20-2021
04:59 PM
|
0
|
0
|
6502
|
|
POST
|
Hello @ChrisMaclaurin, That is correct the result of the query request will be a JSON response that can then be worked with in the function. What I would suggest is having the JavaScript function return the full JSON response and then use pulldata("@json") in the survey to extract specific pieces for specific questions. If you are looking for only one result you can use the resultRecordCount parameter to specify how many features are returned. If you are looking for all features that match your where clause you wouln't need to specify a resultRecordCount. Please check out the JavaScript sample in Survey123 Connect for an example showing the pulldata("@json") function. You can also use an API development software like Postman to tinker with the query request in order to return exactly what you are looking for and then use the code snippet section to view how the request is formatted in a JavaScript XHR format. Thank you, Zach
... View more
05-18-2021
04:58 PM
|
0
|
0
|
3048
|
|
POST
|
Hello @GordonYoung1, Thank you for passing along the XLSform! In taking a look into it, it seems the issue is due to the calculation for the file_nm question. At the end of the calculation the username of the current user is being concatenated to the string, but it's using the jr:choice-name() function even though the question it's referring to is a standard text question not a select_one question. I had removed the jr:choice-name() function and switched it to ", Username: " + ${curr_user} and that's working on my end. Thank you, Zach
... View more
05-13-2021
03:55 PM
|
0
|
0
|
1206
|
|
POST
|
Hello @ReginaldHayes, Do you also see the behavior in the Survey123 field app, or is the behavior specific to the website? If possible would I be able to obtain a copy of the surveys XLSForm and CSV's in the media folder for testing on my end? Please feel free to email them to ZSutherby@esri.com if passing them over Esri Community isn't preferred. Thank you, Zach
... View more
05-13-2021
03:04 PM
|
0
|
1
|
2521
|
|
POST
|
Hello @IgorLacan, In a web browser if you navigate to https://survey123.arcgis.com/share/<itemID for your survey> can your fill out and submit the survey in the web browser, or can you only submit surveys from the field app? Is the behavior reproduced in all web browsers or just one specific browser? On the My Surveys page of the Survey123 website if you select the Collaborate, Analyze, or Data icons for the survey do those pages also present the same error message? Thank you, Zach
... View more
05-13-2021
02:56 PM
|
0
|
1
|
1442
|
|
BLOG
|
Introduction: A common question the Survey123 team has received from organization administrators is, "What's the best way to clone my surveys from one organization to another?" There are two common use cases for cloning surveys: Create a copy of a survey in another ArcGIS organization. For example, a city’s transportation and water departments have different ArcGIS Online organizations and the water department would benefit from having a copy of one of the transportation department’s surveys as well as its associated web map and dashboard. Clone a survey from a development organization in ArcGIS Enterprise to staging and production organizations. This blog and sample Python notebook demonstrate how to clone surveys and associated content from one organization to another. This workflow can be used to clone surveys from ArcGIS Online to ArcGIS Online, ArcGIS Online to ArcGIS Enterprise, or ArcGIS Enterprise to ArcGIS Enterprise. The direction of cloning does not matter. The foundation of the workflow is the clone_items() method in the ArcGIS API for Python. This is the infrastructure that allows us to clone surveys from a source organization to a target organization. Given the different content and item types, possible ArcGIS Enterprise configurations, potential ArcGIS Online configurations, security considerations, and item dependencies, the clone_items() method aims to produce an exact duplicate of an item that retains all of its functionality. Please note that cloning relies on the sharing model to determine the items a user can clone. If a user can access an item, that user can clone it. However, a user can’t create any items in the target organization if they don’t have the appropriate privileges to create. For more in-depth content on how the clone_items() method works please review the ArcGIS API for Python Guide on cloning content, as well as the documentation. A copy of the full notebook is available for download in our Survey123-tool GitHub repo. Prepare to clone: To start, we are going to need two GIS connections; one to our “source” organization, which is the organization in which the survey and content currently resides that we would like to clone; and another to a “target” organization, which is the organization that we would like to clone the survey and content to. In our first example we are going to highlight a workflow where we have a few surveys shared to a group that we would like to clone to a different organization. In order to work with our surveys a Survey Manager is defined. A survey in the Survey Manager is a single instance of a survey project that contains the item information, properties, and provides access to the underlying survey dataset. Please use this link for more information on working with the Survey Manager. In this example, four surveys are shared to a group. Using the group ID, a connection is made to the group and a list is created containing all form items within the group. Now that we have our forms as a list, we are ready to clone the content from our source organization to the target organization. As previously noted, a use case for using the clone_items() method is to clone surveys between development, staging, and production organizations. This first example clones the surveys from our existing group (as defined above) located in the source organization to the target organization and shares the cloned surveys to a group with the same name in the target organization. Clone related items: The code below starts by creating a new group in the target organization using the same title and tags as the existing group in the source organization. Once the surveys are cloned, they will be shared to this newly created group. Each form item in the source group is looped through, obtaining the feature service associated with the survey through the “Survey2Service” relationship, as well as any additional items related to the survey using the “Survey2Data” relationship. This would include any linked content or report templates associated with the survey. All related items are merged into a list to be cloned. Please review the relationship types documentation for more information on related items in ArcGIS. Next, a new folder in the target organization is created based on the survey name, and the items in the list are cloned. Since the `copy_data` parameter is set to “False” in the clone_items() method, the resulting services created in the target organization will not contain any data. This is ideal when cloning from a development environment to a staging or production environment, as you might not wish to retain any test data. Finally, the form items are shared to the group in the target organization that was defined previously, including the feature service, and tags are added to each item. As a confidence check, let’s query the newly created group and confirm our four surveys have been shared. The example above is a useful workflow for cloning surveys between development, staging, and production environments, and will only clone items that are linked to the form item including: report templates, linked web maps, CSVs, and map packages. But what if we would like to clone not only the survey and its related items, but also the survey data that’s already been collected? Additionally, what if we have web maps that aren’t linked to the survey, web apps, or dashboards that use the survey data? If those items are stored in the survey’s folder, a slightly different method can be used to clone all the content from this folder. Clone full survey folder: The code below demonstrates connecting to one specific survey within our organization. Using the properties of the survey, the folder ID where the survey resides is assigned to a variable. Next, all the folders in the source organization for the source username are listed. Using list comprehension, the folder in the `full_folder` variable is matched with the folder ID obtained from the survey properties. Once the correct folder has been identified the contents of the folder are listed. Now that all items to be cloned are in a list, a new folder is created in the target organization to store the content. After the folder is created the content is cloned to the target environment. Since the `copy_data` parameter is not defined the default value for the parameter is “True”, meaning all the underlying data will also be cloned. This means the resulting content in the target organization will be an identical clone of the original data. If you do not wish to retain the source data, setting the `copy_data` parameter to “False” will only clone the data schema and architecture to the target organization. Meaning the survey, web maps, web apps, dashboards etc. will configured as per their original items; the only difference is the feature layer will be empty. In this blog we’ve covered two use cases of using the clone_items() method. This sample notebook is intended to be used as a guide; you can take what’s here and incorporate it into your own workflows. What workflows or use cases do you have that we missed? Please let us know your use cases and workflows and we can work on incorporating them into the notebook. Notes on limitations: Clone Fails with Non-Ascii Characters in Service Name Cloning is limited to 1000 records
... View more
05-12-2021
09:55 AM
|
9
|
19
|
11477
|
|
POST
|
Hello @srikanthnamburi3, If you have multiple records selected in the Data tab of the ArcGIS Survey123 website you can include those records in one report under file options you can choose to merge them into a single file placing each record on the next page, or a continuous page. As a note if you are using ArcGIS Online including multiple records in one report the report is charged 0.5 per survey record. For example, 2 records in one report will cost 1 credit, 0.5 for each record. Please use this link for more information on printing survey results. Thank you, Zach
... View more
05-11-2021
04:34 PM
|
0
|
3
|
2683
|
|
POST
|
Hello @mridul20, When you say survey123 services I assume you are talking about the feature services that are created when a Survey123 survey is published. I would suggest reaching out to Esri Technical Support for assistance formatting your request to the REST endpoint of the service, as well as checking out the documentation for the specific request you are sending. If you are trying to make a request to the Survey123 REST API (this is different from the REST endpoint of the feature service), please check out our REST API documentation. Thank you, Zach
... View more
05-11-2021
04:26 PM
|
0
|
2
|
1626
|
|
POST
|
@JakeMatthys, Assuming the field that is being used for the select one question uses domain values the default value will need to use the domain code instead of the label, or from the XLSForm the choice name instead of the label. Thank you, Zach
... View more
05-11-2021
04:13 PM
|
0
|
1
|
3078
|
|
POST
|
Hello @EmilPerlt, By default feature services created by Survey123 will use a composite relationship. Survey123 can work with both simple and composite relationship types the main thing that Survey123 requires is a GlobalID to GUID & 1:M relationship. If you would like to switch it to a simple relationship, unfortunately there isn't a way to do it directly in your organization. You would need to download the data as a file geodatabase and in ArcGIS Pro delete and recreate the relationship class using the other relationship type. Since the relationship will be Global ID to GUID as long as the parent global ID and the value in the table for the parent global ID don't change, which deleting the relationship class and recreating it wont change global ID's. When the new relationship class is created the related records will be maintained. Thank you, Zach
... View more
05-11-2021
03:51 PM
|
0
|
0
|
1778
|
|
POST
|
Hello @KellyArmstrong, If you're pointing the form_id to the related table you will also need to remove the begin and end repeat rows in the survey sheet. The only questions that should be in the survey sheet should be the questions that are in the table. Please refer to the first six steps of this Tech Support KB article for the workflow. Thank you, Zach
... View more
05-11-2021
03:11 PM
|
1
|
1
|
4962
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-27-2026 02:55 PM | |
| 6 | 12-17-2025 01:51 PM | |
| 1 | 11-04-2025 02:14 PM | |
| 1 | 10-15-2025 01:53 PM | |
| 1 | 12-15-2023 04:34 PM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|