|
POST
|
Hi! You can take a couple of approaches here. The simplest one is to use relates in ArcMap or ArcGIS Pro map documents. Through a relate you will be able to say click on a Farm polygon and navigate to all its related inspections over time. Here how you do it: First add your Farms polygon layer (from a shapefile, file geodatabase or other source) into your map. Then add your Survey123 feature layer. Once you have both layers in the map, you can create a relate between both layers by right-clicking on the Farms feature layer and selecting the Join and Relates option in the context menu. I like relates because you can create them across layers coming from very different sources: a database, a file, a feature service. The not so good aspect of relates is that they are useful in ArcMap and ArcGIS Pro, but not in web maps or web applications. The other approach is to use geodatabase relationships. The beauty of them is that these relationships can be discovered by many different apps including Desktop and Web apps. The issue with geodatabase relationships is that their creation is much more involved, forcing you to bring your Farms and Inspections into the same enterprise geodatabase or hosted feature service, and also make sure Survey123 can work against your inspections table using the submission URL setting. If using the submission URL, ensure that you inspections table is actually a layer and the first in your feature service. This blog post is a bit obsolete but still describes very well what the differences are between relates and relationships. This help topic is a good reference too.
... View more
08-23-2016
04:16 PM
|
5
|
42
|
8599
|
|
BLOG
|
Adam Mollenkopf Looping Adam in case he can help with this.
... View more
08-05-2016
12:58 PM
|
0
|
0
|
18399
|
|
POST
|
Hi Gary. This is not possible at the moment, or planned. Lets wait to see if others also would like Favorites to be optionally disabled.
... View more
08-05-2016
10:57 AM
|
0
|
1
|
984
|
|
POST
|
Hi. I had a quick look at the survey. Thanks for sharing. I was able to make it load in my iPhone6 in 4 seconds. Here are the changes I made: First I changed the appearance of long lists into 'minimal'. This helps because the choices in the list are loaded only when you tap on the drop-down. I left short lists (under 5 choices) as they were. I got marginal improvement in this particular case. Then I looked at your relevant column to find sets of questions using the same expression. I found a couple large sets in section 22 (Gastos) so I first removed all the relevant expressions, then grouped the questions and applied the relevant expression to the Group. In this manner, the mobile app only needs to execute the relevant expression once for the group as opposed to every question. The survey started to make some noticeable improvements here. Then at the very beginning of the survey, in Section 3 (Codigo Encuestador), I collapsed a sequence of questions into a single Cascading Select with External Choices. This also made a significant difference. I applied minimal appearance to your repeat. By using minimal appearance you delay the rendering of questions within the repeat until you click on Plus. Made minor difference but applied anyways. Fixed typo in the header (Settings Worksheet), applied like-rt appearance to Encuesta de Satisfaccion. Just for the looks, no chance in performance. I noticed you are using the field-list appearance. Unfortunately we are not supporting this XLSForm feature just yet. I left them there although they will be ignored in the app. I imagine we could look at optimizing a bit more, but that is how far I was able to get it for now. For a survey of this type, which typically would take several minutes to complete, it seems like 4 seconds to open should be bearable. I did not test on other devices, the time to load will change depending on the compute time in the phone or tablet. Attaching survey with my changes.
... View more
08-04-2016
11:05 AM
|
2
|
4
|
3329
|
|
POST
|
Hi Osman. To provide any advice to you you will need to include your XLSFile in this thread.
... View more
08-04-2016
09:27 AM
|
1
|
6
|
3329
|
|
POST
|
Hi Zoltan Kovacs, this is just to let you know that EXIF is preserved in Collector for ArcGIS as of 10.4 Survey123 will follow soon, the team is already working on this.
... View more
08-03-2016
07:40 AM
|
1
|
1
|
1798
|
|
BLOG
|
Quick note: Currently, ArcGIS Online and Portal for ArcGIS will 'sanitize' urls added into popups that do not use the http or https protocol. In our case at hand here, arcgis-survey123:// is not using http/s, so it will get removed as all of us found out already. The sanity pass happens at the REST API level. There are good reasons for this clean-up to happen. We are currently in discussions to see how we can best handle this situation. Our goal is to allow you to use arcgis-survey123:// invocations within a popup and of course support field-value variables {myField} as you have already pursued. Our plan is to have all of this addressed in our next update to ArcGIS Online (September) and in Portal for ArcGIS 10.5. In the meantime, there is really no way to make your Web Maps hold survey123 calls, except if you are lucky enough like Guido van der Kolk and can literally edit the JSON definition of the Web Map accessing the item OS directory in the machine where Portal for ArcGIS is installed. We need to get creative here for a little while.
... View more
08-03-2016
07:35 AM
|
2
|
0
|
58860
|
|
POST
|
Thomas Hamill, please update your Survey123 Connect to the latest version (1.6). Back in May with our Star Wars Day Release we enhanced the publishing process so changes in your choice lists would not trigger Feature Service replacement. The Survey123 Connect downloads are available here. You can also find more info about the logic for survey re-publishing in the Publish your survey—Survey123 for ArcGIS | ArcGIS help topic.
... View more
08-01-2016
08:57 AM
|
1
|
0
|
1465
|
|
POST
|
Hi. If you would like to persist just a few questions as favorites I suggest you do the following: Capture your favorite answers just for the questions you want. Leave the rest blank. Save your survey as a draft The way favorites is implemented is that all answers in the favorited survey will be carried forward. That is, you are not flagging as favorites a set of questions, but rather the entire survey. For this reason, it is best to just answer a few questions, flag as favorite and save as draft, so the rest of questions are left blank when you paste your favorites.
... View more
08-01-2016
08:51 AM
|
0
|
1
|
1085
|
|
POST
|
Hi. This is a known limitation. In 1.5 we added a little option to rotate the image, but it is really a bandaid until we get the app to understand the proper orientation of photos taken. We are preparing a collection of improvements in the camera including ability to preview images in full screen, zoom-in capabilities in the camera, proper orientation of the preview and preservation of EXIF data. Hard to say right now when exactly we will be able to get this in, but I anticipate this to be ready sometime before the end of 2016.
... View more
07-29-2016
11:47 PM
|
4
|
6
|
1798
|
|
POST
|
Hi. It looks like you are missing the question mark right before the parameters. Have a look at this post:Understanding Survey123's custom URL Scheme I hope it helps. Ismael
... View more
07-29-2016
11:24 PM
|
1
|
1
|
2733
|
|
BLOG
|
.Updated August 10, 2020 (Added reference to Arcade UrlEncode operation) The purpose of a URL scheme is to provide a well-known protocol for apps to communicate with each other. Through a custom URL scheme you can remotely launch apps and invoke actions in them. Specifically, the URL scheme in Survey123 allows you to: Launch the Survey123 app Open a survey Prepopulate answers in the survey A common practical scenario for using the Survey123 custom URL scheme is integrating Survey123 with other ArcGIS apps like Explorer, QuickCapture, Collector or even your own web mapping apps. Take for example a case where you want field users to use a map to identify a particular asset, and then use a smart form in Survey123 to capture information about that particular asset. Explorer, Collector or a plain Web Map can serve the first purpose. In this post I will first describe the syntax of the Survey123 custom URL scheme, then how to execute a call with it and later how to integrate URL scheme calls into feature popups in ArcGIS Web Maps, so other ArcGIS Apps can leverage it. About the Survey123 Custom URL Scheme syntax A call to Survey123 through its URL Scheme looks something like this: arcgis-survey123://?itemID=89bc8c7844e548e09baa3aad4695e78b&field:AssetID=FF34001&field:Status=Good¢er=43.567,-117.380 Let’s break it down: The first bit is pretty obvious: arcgis-survey123:// invokes the Survey123 mobile app. For this to work, the Survey123 app must be installed in the device in which the call is being made. Everything after arcgis-survey123:// are optional parameters that you can pass if you want the app to do additional things. The list of parameters starts with a question mark (?). Parameters are separated from each other through ampersands (&). Each parameter is actually made of two parts: the parameter name and the parameter value, which are separated by the equal (=) sign. The rules for how to properly pass parameters are common to how you build query strings for the web. The itemID parameter (itemID=89bc8c7844e548e09baa3aad4695e78b) refers to the survey you want to open. If the survey is not already in the device, the app will attempt to download it automatically. To obtain the proper itemID for a survey follow these instructions: 1. In a web browser, login into survey123.arcgis.com 2. Click on the survey for which you want the itemID 3. Now get the ID of your Form from the location bar of your browser. For example, if the URL of your survey looks like this: http://survey123.arcgis.com/surveys/3d02eec41a224902ab4c44e6d39319c8 , the itemID will be: 3d02eec41a224902ab4c44e6d39319c8 The app will automatically attempt to download the survey as specified in the itemID parameter. If the survey is shared publicly, it will open right away. If the survey is private, it will be downloaded using the currently logged-in user. If no user is logged-in, a dialog will prompt the user for credentials. In the example above we use the field:AssetID and field:Status parameters to prepopulate questions in the survey. If you want a survey to open and have some or all questions already answered, you will add as many field parameters as needed. Field parameters always are prefixed with the word field: After that, you enter the name of the actual question for which you want to set the answer, then you add an equal sign and the answer. For example: field:AssetID=FF34001 will populate the AssetID question in your survey with the value FF34001. Here are some tips when passing field parameters: The value to insert immediately after field: is the value of the corresponding NAME question in your XLSForm. Do not pass the Label! The value to insert after the equal (=) sign is the actual value that will be stored in the feature service. If you are working with select_one type of questions this is very relevant, since the value you must pass is that of the XLSForm Name of the choice, rather than its Label. Passing field parameters for questions within a repeat or attachments is not supported at the moment. If you would like to prepopulate a question, but do not want to user to change its value, flag the question in the XLSForm as read-only. The last parameter we pass in the example above is center=43.567,-117.380. This will set the location of geopoint questions in your survey at the provided coordinate pair. You must pass a latitude-longitude pair in decimal degrees separated by a comma as no other coordinate systems or formats are supported. Invoking a Custom URL Scheme call: The Basics If you would like to give this a quick try, I recommend that you use a web browser to experiment. Start by downloading the Survey123 app into your desktop. You can download it for Windows or for your Mac. Once you have the app, manually launch it and login to download a couple of surveys. Then get the itemID of one of them to start and use it to adjust the itemID parameter: arcgis-survey123://?itemID=insert your own Form item ID here Then paste it into your web browser to launch Survey123 and open one of the surveys you downloaded. Continue experimenting by pre-populating survey questions. Once you feel comfortable with the syntax of your URL scheme links, try in your own device. Start by e-mailing the URL Scheme invocation to yourself, and using it from your device's web browser. You can also use Survey123 URL scheme strings to configure hyperlinks in an email, or include them as part of a web page. Invoking a Custom URL Scheme call from a Web Map Things get pretty interesting when Survey123 URL scheme links are used within an ArcGIS Web Map. This allows you to integrate Survey123 into other ArcGIS apps, by allowing users to launch Survey123 from the popup of a Web Map in Collector, Explorer or even a web application. This gets interesting for a couple of reasons: First, you can use a map centric app to help the user find a particular asset or location, then easily launch Survey123 from that app to capture data using a smart form. Second, you can use the existing attributes of a feature in the map and pass them into the form to prepopulate answers. This is extremely useful to ensure, for example, that the unique ID of an asset as identified in your map, is passed into Survey123. To embed custom URL scheme calls within a Web Map, you will want to edit the popup of an existing layer. Choose the Configure Pop-up option in the layer’s menu. Next, select the Custom Attribute display as shown in the next screenshot. In a Custom Attribute display you can now embed your Custom URL scheme call as a hyperlink. You can ignore the warning indicating that the value is not valid. If you prefer, you can also work directly using the source HTML view of the popup. As shown below, you can reference attributes from the underlying feature in your Survey123 custom URL scheme by enclosing the name of the feature attribute within curly brackets. arcgis-survey123://?itemID=89bc8c7844e548e09baa3aad4695e78b&field:AssetID={assetid} With this technique, you will be populating the AssetID survey question with whatever value is present in the assetid attribute of the feature’s popup. This will ensure that captured data in Survey123 can always be associated back into the feature selected in the map. A few quick tips when creating popups: When passing text attributes with spaces, you will want to use the urlencode ArcGIS Arcade function. Otherwise, your links may get cut off at the first space encountered. Field names are case sensitive in iOS. Ensure you reference your feature service fields with the exact capitalization used in the feature service. If you want to pass lat/lon values from attributes in your feature, be aware that the default formatting rules for the double data type cut-off decimal values to two. You will want to adjust the formatting rule to pass all decimal values to Survey123. 1) Open the 'Configure pop-up dialog of your feature layer's and then select 'Configure Attributes' . 2) Now select the attributes with your latitude and longitude values and pick the number of decimals you want to include in the Format drop-down option in the right side of the dialog. If you want to pass lat/lon values from the geometry in a feature, you can add an Attribute Expression to your popup do dynamically get the lat/lon values from the geometry of your feature. 1) Open the 'Configure pop-up dialog of your feature layer's and then select 'Configure Attributes'. 2) Add a new Attribute Expression. 3) Look for Geometry under the Globals tab and fetch Geometry($feature).x 4) Use the Edit link at the top to give your expression a friendly name 5) Repeat steps 2 through 4 to create a second expression for the y coordinate. Once your Web Map is ready, you can next use it within multiple applications such as ArcGIS Explorer, Collector as well as your own web mapping apps. Tip: Check Announcing a handy tool to generate Survey123 URLs if you would like to automate the generation of Survey123 Custom URLs for us in popups. Invoking a Custom URL Scheme programmatically In a web app or website, simply create an HTML link: <a href='arcgis-survey123://?itemID=89bc8c7844e548e09baa3aad4695e78b'>Launch Survey123</a> In QML AppStudio for ArcGIS: Qt.openUrlExternally('arcgis-survey123://?itemID=89bc8c7844e548e09baa3aad4695e78b') In Java, using Android's Intent: PackageManager manager = mContext.getPackageManager(); Intent i = manager.getLaunchIntentForPackage("com.esri.survey123"); i.setData(Uri.parse("arcgis-survey123://?itemID=89bc8c7844e548e09baa3aad4695e78b")); startActivity(i); [This post was updated on October 30, 2018]
... View more
07-29-2016
11:14 PM
|
60
|
359
|
240498
|
|
BLOG
|
A fix was implemented so user-defined locations would not be overwritten by the calculation. This fix will be made available in our next update to Survey123, which is scheduled in September 2016.
... View more
07-29-2016
05:06 PM
|
0
|
0
|
25176
|
|
BLOG
|
Photos one month off. It all started here! (see video) How we could have missed that one! Thanks so much. Photo zoom in is in the making too, but it will come as as a for fee extension... Ha! Kidding (on the extension bit, of course).
... View more
07-27-2016
11:25 PM
|
2
|
0
|
341
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-01-2022 12:48 PM | |
| 1 | 03-22-2022 08:44 AM | |
| 1 | 08-26-2021 02:43 PM | |
| 1 | 10-30-2019 10:15 PM | |
| 1 | 04-19-2020 05:13 PM |
| Online Status |
Offline
|
| Date Last Visited |
08-25-2025
09:21 AM
|