|
BLOG
|
Survey123 is an incredible app from Esri that makes it really easy to configure data capture surveys. I've previously looked at how to implement a custom Other field and how to make survey results easier to analyse, or symbolise, when a survey includes the Other functionality. These methods use configuration options in the Survey123 Connect for ArcGIS desktop application. Supposing you’ve created your survey using the web designer, or perhaps you are happy with your existing surveys and don’t want to change them? In this blog I explore how to work with results that include the Other functionality, after the survey has been published. If you're not aware, the Other functionality allows users to enter an Other value as an answer to a multiple choice question if the answer they need is not in the list. This has been implemented for the question What is the property type?: This functionality is awesome, but the Other value that a user inputs is assigned to a new field in the attribute table. This means the answers for one question are spread over two fields: Arcade can help us with this! Arcade is a cross-platform expression language for ArcGIS and, since June 2017, we can use Arcade in web map pop ups. So we can manipulate the contents of pop ups and, in this instance, display the correct entry for the question What is the property type? This blog assumes you have published a survey using the Survey123 Web Designer or Connect, with at least one Single Choice (web designer) or select_one (Connect) question with Other enabled. You can do this using the standard method or the alternative method I shared before. Using Arcade with Other 1) Add the Survey123 data to a web map 2) Navigate to the Configure Pop Up pane > under Attribute Expressions click Add 3) Specify a name for the Attribute Expression 4) Now we need to form the expression. In simple terms, if the answer to a question is ‘other’, then ignore it and give us the alternate answer supplied instead. In Arcade, this translates into: IIf($feature.fieldname == "other", $feature.fieldname_other, DomainName($feature,"fieldname")) For the question in this example; ‘What is the property type’ is the field alias and ‘PropertyType’ is the field name so the expression looks like: IIf($feature.PropertyType == "other", $feature.PropertyType_other, DomainName($feature,"PropertyType"))
Click Test to ensure the expression works correctly. When you’re happy, click OK to close the window.
Note: Arcade expressions are case sensitive, 'other' might be 'Other' or another phrase depending on your survey question.
5) In the Configure Pop Up pane, choose A list of field attributes for the Displayoption > click Configure Attributes. The Attribute
Expression created in the previous step will appear at the bottom of the list. Enable this attribute, reorder and turn off the two
fields it is replacing:
Click OK to close the Configure Pop Up pane
6. Click on a feature to see the results!
Tips You can find the field names from the Globals section in the Attribute Expression window If you are referencing a field’s domain in the expression, you need to use the domain code and not the name. You can find this in the Attribute Expression window by clicking on the little pencil beside the field name under Globals. If you created your survey using the Survey123 Web Designer, please note that the field names usually are field_0, field_0_other, field_1 etc. Under Globals, fields that have domains include extra information: If you use the Code then domain codes will be returned in the pop up, whereas if you use DomainName($feature,”PropertyType”) the domain names will be returned instead and will look better. Attribute Expressions can also be used in Custom Attribute Displays too, have a go! Using Arcade in this way means no changes are made to the information at a database level but how the information is relayed to end users is improved! Note, if you need some help setting up a Survey123 survey, check out the help videos and pages. This post was originally shared on the Esri UK blog: GeoXchange — Esri UK. It's also a valuable source for posts on other ArcGIS topics by other Esri employees, check it out!
... View more
12-18-2017
01:44 AM
|
8
|
5
|
7156
|
|
POST
|
Hi Brian, It's possible to share Operations Dashboards outside of your organisation. One way is to share the Operation Dashboard and it's contents with Everyone. Sending the the URL to your outside users will allow them to access it - if you don't have anonymous access enabled on your account, you might need to remove your org name and '.maps.' from the URL - eg http://myorg.maps.arcgis.com/ to http://arcgis.com/. If you don't want to share elements of the Operations Dashboard with Everyone, the outside users will need an ArcGIS Online username of their own, and the content can be shared to a group that all required users are a part of (What is a group?—ArcGIS Online Help | ArcGIS) Carmel
... View more
12-15-2017
05:04 AM
|
5
|
9
|
7084
|
|
POST
|
Hi Angela, You mave have used this before: How To: Provide feedback on basemaps in ArcGIS.com but could be useful tool to be specific about the areas you're looking at. I'll also recommend contacting your region's Tech Support team directly as well. If you're in the UK you can do this using one of the methods listed here: Contact Support | Esri UK Carmel
... View more
12-14-2017
07:45 AM
|
1
|
1
|
2377
|
|
POST
|
Hi there, This might be why you're seeing older imagery: Issues with the World Imagery Service — Esri UK although I assume you're the same person who commented on that post Does the World Imagery Clarity service meet your needs better? http://www.arcgis.com/home/item.html?id=da10cf4ba254469caf8016cd66369157 Carmel
... View more
12-14-2017
06:35 AM
|
1
|
4
|
2377
|
|
POST
|
Hi Brian, I tried using the last section of the blog you linked, 'Authorize the layer', and it's worked - in my example I added in the World Traffic Service URL (http://arcgis.com/home/item.html?id=ff11eb5b930b4fabba15c47feb130de4/ https://traffic.arcgis.com/arcgis/rest/services/World/Traffic/MapServer) to my content, saved credentials, shared with everyone, added it to the Ops Dashboard webmap and the Ops Dashboard loaded for public users. Might be worth going through your Tech Support team to highlight this to them Carmel
... View more
12-14-2017
03:02 AM
|
1
|
1
|
957
|
|
POST
|
Hi Kristen, Is there a certain functionality you're looking to use with the splash screen? Like asking a user to agree to T&Cs? From my knowledge, none of the storymaps currently have the capability of adding a splash screen OOTB - the closest might be in the Story Map Tour where you can use a point as an Introduction to the story map: Like you mentioned, Web AppBuilder does allow you to include a splash screen, and so does the Basic Viewer so one of those could be embedded at the start of your storymap. Otherwise it's worth adding this to the Ideas site: ArcGIS Ideas - these get implemented quite regularly. Carmel
... View more
12-14-2017
02:33 AM
|
1
|
0
|
1593
|
|
BLOG
|
Hi Ashley, It sounds like the Pull Data function might be able to help you - this is where a csv of values is used to load the survey with answers. Here's more information: Formulas—Survey123 for ArcGIS | ArcGIS Survey123 for ArcGIS – XLSForm: Enabling CSV Data into your Survey - YouTube https://community.esri.com/groups/survey123/blog/2016/10/27/the-pulldata-function-access-external-data For your example, your questions could be set like this: Choices could be set like this: The Pull Data .csv could be populated like this and saved in the media folder of your survey e.g. C:\Users\<username>\ArcGIS\My Survey Designs\<surveyname>\media : When the user chooses Lemon, the code 4595 is filled to the hidden field called PLU_Code. For the next section, a hidden field is created to hold the answers from the weight of Banana/Lemon etc. and a calculation is used populate it: If you want to keep the field type to an integer, make sure to use the bind::esri:fieldType column. Hope that helps! Carmel
... View more
12-14-2017
01:54 AM
|
0
|
0
|
8449
|
|
POST
|
Hi David, Are you using Survey123 Connect or the Web Designer to create the survey? Do you have 'Other' enabled in the survey? I don't think there's an official way to do it, but here's a possible workaround: Using Survey123 Connect, you can define the default value of the question to be all the answers, so all the boxes are ticked when the survey is opened. For example, I have a question: And a corresponding list: Select Multiple answers are recorded by seperating them by commas. So if I selected all these choices, the answer would be recorded as one,two,three Using this, I enter these values into the Default column for the question (this uses the list names, not labels): And all the choices are selected in the survey: . I don't believe this is possible with the Web Designer because there isn't an option to specify 'Other'. This will need testing with your data and on devices to make sure it works exactly the way you want! Carmel
... View more
12-13-2017
03:24 AM
|
1
|
1
|
2833
|
|
POST
|
If the length of the entry is going to be variable, mask may not work unless you just make the X string very long.
... View more
12-13-2017
02:56 AM
|
0
|
0
|
3221
|
|
POST
|
Open Data and ArcGIS Hub was just updated on the 12th December: http://hub.arcgis.com/pages/changelog
... View more
12-13-2017
02:49 AM
|
1
|
0
|
4129
|
|
POST
|
Hi Nina, Cloning the site creates an exact replica of the site you are cloning. It goes through these steps and creates a new item with '- Copied' appended to the name: I assume it's a new tool that was released with the ArcGIS Online update last week Carmel
... View more
12-13-2017
02:35 AM
|
1
|
17
|
4129
|
|
POST
|
Hi Nicole, What method did you use to upload the data to ArcGIS Online? Did you upload a csv by any chance? From what I can see, information for a feature service in the data section only appears when something is saved to the layer, like symbology, pop up config, filters. If you shared a layer from ArcGIS Pro, information like symbology would be carried over, but a feature service created from a csv has nothing. Hope that helps! Carmel
... View more
12-13-2017
02:12 AM
|
0
|
3
|
3826
|
|
POST
|
Hi Bob, When you shared the ArcGIS Pro map as a Web Map in the Share tab, did a web map item appear in your Content? For https://ssp-community.maps.arcgis.com/home/item.html?id=b9abf687c219446ca36f9ae0ba69c652, can you navigate to the Settings tab > Tile Layer (hosted) Settings > Show current tile details and post a screenshot of it here? If the layer isn't displaying for you, the tiles might need to be build for it. When rasters are added to ArcGIS Online, they are treated differently to vectors and tiles need to be cached for them at different scales so they display. Carmel
... View more
12-13-2017
02:04 AM
|
1
|
1
|
1728
|
|
POST
|
Hi Beth, You'll be able to use the ArcGIS Online Assistant to copy content between accounts, I've tested and it works between free individual accounts - you'll need a username and password for the nonprofit's account. The tool will copy the content but you'll need to reconfigure the Map Journal to look at the maps sitting in the nonprofit's account and not yours, but the bulk of the work is done with the copy! Have they looked at what Esri offer for nonprofit organisations? Take your mission to the next level with Esri's program for nonprofit organizations Hope that helps! Carmel
... View more
12-13-2017
01:20 AM
|
2
|
1
|
1309
|
|
POST
|
Hi Tom, Good spot! I'll add that to the blog Carmel
... View more
12-13-2017
12:34 AM
|
0
|
0
|
1568
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-24-2023 07:58 AM | |
| 1 | 08-31-2023 12:51 AM | |
| 1 | 08-25-2023 04:17 AM | |
| 1 | 08-29-2023 01:44 AM | |
| 1 | 08-25-2023 04:24 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|