Deploy an ArcGIS solution
To quickly and efficiently distribute park information for Naperville, you've found an applicable ArcGIS solution. In this lesson, you'll install the add-in for the ArcGIS Solutions Deployment Tool and deploy the Park Locator solution.
Find an ArcGIS Solution
There are many available solutions. You'll locate the Park Locator solution and make sure it is a good fit for your data.
- Go to the ArcGIS Solutions Gallery.
- In the search box, type Park Locator.
- Point to Park Locator and click Learn More.
The Park Locator solution page appears. It has tabs with more information about the solution, including software requirements. From this page, you can learn how to deploy the solution using the ArcGIS Solutions Deployment Tool.
- On the Overview card, click View Application.
The Park Locator app for Naperville, Illinois, opens. It contains parks, golf courses, and trails within the city of Naperville. You can click a symbol for a pop-up with more information, or use the widget on the sidebar to find parks within a specified distance of an address. This app seems to be a good fit for your data.
Deploy a solution
Now that you've found the Solution you want to use, you'll locate and deploy the Park Locator solution using ArcGIS Pro. Deploying the solution will save the related maps and apps to your ArcGIS account. If you've never used ArcGIS Solutions before, you'll need to download the Add-In first.
- Start ArcGIS Pro. If prompted, sign in using your licensed ArcGIS account.
If you don't have ArcGIS Pro or an ArcGIS account, you can sign up for an ArcGIS free trial.
- Under New, click Map.
- In the Create a New Project window, name the project Park Locator and click OK.
The project opens to a blank map.
- On the ribbon, click the Share tab. In the Deploy group, click ArcGIS Solutions.
If you haven't installed the ArcGIS Solutions Add-In, you'll need to download it before you proceed. The ArcGIS Solutions Deployment Tool opens in the Tasks pane. Tasks are sets of preconfigured steps that guide you through a workflow. The first task is to sign in to your organization.
- In the Tasks pane, double-click the Sign in to ArcGIS organization task.
Solutions require access to an ArcGIS Online or ArcGIS Enterprise organization and content creation privileges. If you signed in when you started ArcGIS Pro, you don't need to sign in again.
- If necessary, open a web browser and sign in to your organizational account. In the Tasks pane, click Finish.
- Double-click the Deploy an ArcGIS Solution task.
Available solutions are listed by industry category.
- In the search bar, type park locator and press Enter.
- Choose Park Locator, then click Options. Uncheck Use Existing Items In The Organization.
Unchecking this option specifies that no matter how many other users in your organization have deployed this Solution in the past, you'll have a personal copy of the maps, applications, and layers.
- Click Deploy. Optionally, you can create a folder in which to deploy the Park Locator.
The solution may take a few minutes to load. When it is complete, it will be marked with a green check.
- Click the green check.
The solution opens in your organization. Park Locator is a configuration of Web AppBuilder for ArcGIS, and the Item Details page reflects that.
The web app is currently blank. In the next lesson, you'll configure the solution and add data for your community.
- On the ribbon, click Content.
When the solution deployed, it added several items to your content.
There are two versions of the ParkRecreationFacilities layer: the feature layer and a feature layer view. Feature layer views are views of the data that you can edit for different audiences. For example, you can share the ParkRecreationFacilities layer with your organization so that they can see and edit all of your data. Then, you can create a feature layer view for the public that can't be edited and only shows certain attributes. You'll make all your edits to the ParkRecreationFacilities layer, and change the ParkRecreationFacilities_public layer to reflect the additional categories you want to be public facing.
- Return to ArcGIS Pro. In the Tasks pane, click Finish and save the project.
In this lesson, you installed the ArcGIS Solutions add-in and deployed the Park Locator solution. In the next lesson, you'll configure the solution using your Naperville parks data.
Configure the park locator
In the previous lesson, you installed and deployed the components of an ArcGIS solution. Once downloaded, the ArcGIS Solutions group is always accessible from the Share tab. In this lesson, you'll configure the solution to show your own data. No matter what solution you choose to deploy, they all follow a similar pattern. When you deployed the Park Locator solution, several items were added to your ArcGIS Online account. You'll add to and calculate data fields for these items.
Configure an ArcGIS solution
Because solutions are generalized for as many users as possible, they may not have some fields that your viewers want to see. The people of Naperville want to know which parks allow dogs. To show this information in your final application, you'll add another attribute field to your data.
- Open your Park Locator project.
- Download the NapervilleParksData.zip file and unzip it to your project folder (Documents\ArcGIS\Projects\Park Locator).
- If the Catalog Pane is not visible, on the ribbon, click the View tab. In the Windows group, click Catalog Pane.
- In the Catalog pane, click Portal and click My Content.
- Right-click the ParkRecreationFacilities layer and choose Add To Current Map.
- In the Contents pane, make sure the ParkRecreationFacilities layer has been added.
The ParkRecreationFacilities group layer contains golf courses, park and recreation facilities, and park and recreation sites. The first two are point features and the last is a polygon layer.
- In the Contents pane, expand ParkRecreationFacilities. Right-click Park and Recreation Facilities and choose Attribute Table.
The table is empty because there is no data associated with the layer. You'll add the Naperville parks data to this layer. First, you'll create an attribute that will provide the citizens with information about dogs.
- Return to the Tasks pane. Double-click Configure an ArcGIS Solution and click Next Step.
- In the Add Fields pane, for Input Table, choose ParkRecreationFacilities\Park and Recreation Facilities and name the field Dogs_Allowed.
Because the layer is part of a group layer, it will be listed under both names. The second name refers to the layer you'll modify.
- For Field Type, choose Text. For Field Alias, type Dogs Allowed (with no underscore).
Field names can't contain spaces, but for readability purposes, you can set a field alias that appears instead.
- Click Run.
The new attribute field is added to the end of the attribute table.
- In the Park and Recreation Facilities attribute table, scroll until you see the Dogs Allowed field.
- In the Tasks pane, click Next Step.
The final step in this task allows you to modify domains. Domains are primarily used in database administration to limit attribute values to those that are acceptable. For example, when you calculate this field, you only want to know whether or not dogs are allowed, so you'll set a domain to make sure those are the only two attribute values the data saves.
- In the Modify Domains pane, for Input Layer or Table, choose Park and Recreation Facilities and set Field to Dogs Allowed.
- For Type, choose Coded Value. For Name, type Allowed.
Coded Value is a domain type that specifies the permitted attribute values. When you select it, the Code and Description fields automatically populate.
While it may seem redundant, Description is an important field for many databases, especially if you used an abbreviation, acronym, or number and wanted to explain what it meant.
- Click Run. After the tool runs, click Finish.
Now that you've added the attribute field for dogs that your users want to see, you'll load your data into the app. Using the final task, you'll append your Naperville parks and trails data to the blank web layers that were published when you deployed the app. There are two ways to do this: copy and paste or append. The Load Data task runs the Append tool, which gives you more control over the fields and attributes you add to the output dataset. Finally, you'll calculate the field values for the blank field that you created in the last section.
- On the ribbon, click the Map tab. In the Layer group, click Add Data and browse to the Park Locator geodatabase (the contents of the zipped file which you extracted to your project folder earlier).
- Choose NapervilleParks and click OK.
The feature class is added to your map.
- In the Tasks pane, double-click the Load Data task.
- For Input Datasets, click the arrow and choose Naperville Parks.
- For Target Dataset, choose Park and Recreation Facilities.
The Field Map parameter populates with the layer's attribute fields. The fields listed in white are fields in the Park and Recreation Facilities layer that automatically recognized fields in the Naperville parks data layer. The fields listed in red aren't recognized or don't have corresponding data.
- Under Output Fields, click facilityarea (0). In the Source column, click Add New Source, choose PARKAREA, and click Add Selected.
- Add the following fields:
- agencyurl: PARKURL
- handicapaccess: ADACOMPLY
- Click Run.
- When the tool finishes running, click Next Step.
The Calculate Field Values tool opens, which you'll use to calculate the Dogs_Allowed field you added earlier. The city of Naperville allows dogs in parks larger than 10 acres, so you'll create an expression that identifies these parks.
- For Input Table, choose Park and Recreation Facilities. For Field Name, choose Dogs Allowed.
- For Expression Type, choose Arcade.
- At the bottom of the pane, in the code block under Dogs_Allowed =, paste the following expression:
var size = $feature.facilityarea; IIF(size > 10, 'Yes', 'No');
The IIF statement in Arcade is a simplified if-else statement. If the statement is true, the defined true value is returned; otherwise, the false value is returned. IIF takes three arguments: the condition (size > 10), the true value (‘Yes'), and the false value (‘No').
- Click Run.
The field populates with the specified values.
- Click Finish and save the project.
Configure a web app
You've been editing your web layers in ArcGIS Pro, but the data has been automatically transferred to the layer hosted online. Next, you'll make sure that the web app looks the way you want. Using Web AppBuilder for ArcGIS, you'll change the branding, extent, and web links for your final app.
- Open ArcGIS Online and sign in to your account. On the ribbon, click Content.
You added the Dogs_Allowed attribute to the ParkRecreationFacilities feature layer. To make it visible in the app, you'll need to change the settings of the feature layer view.
- Click the options button next to ParkRecreationFacilities_public and choose View item details.
- On the ParkRecreationFacilities_public details page, click the Visualization tab. In the Layer menu, choose Park and Recreation Facilities.
- Click the options button. In the More Options menu, point to Set View Definition and choose Define Fields.
- In the Define Fields window, scroll down and check the Dogs_Allowed check box. Click Apply.
Now that the attribute is visible in the view layer, it will be visible in the app. Next, you'll configure the symbols and labels associated with the field.
- On the ribbon, click Content. Click the options button next to Park Locator Web Mapping Application and choose Edit Application.
Web AppBuilder opens. It has already been partially configured as part of the solution, but you want to set a default extent and allow people to easily search for parks that allow dogs.
- In Web AppBuilder, in the Locate Park pane, search for Naperville, IL.
- Close the search pop-up and zoom out until you see most of the parks.
- Click the Map tab.
- Under Set initial extent, click Use current map view.
The map now centers over Naperville every time it's opened. Next, you'll set the default icon for the field you created.
- Click the Widget tab. In the Widget pane, click Set the widgets in this controller.
This controller allows you to change the widgets that are part of the application.
- Point to the Park Locator widget and click the edit button.
The Configure Locate Park window appears.
- Click the Symbology Settings tab and click Add New Symbols.
A new symbol type is added to the bottom of the list.
- For the new symbol, change Field to Dogs Allowed and Values to Yes.
- Click the default green pin. In the symbol menu, expand the Basic menu. Click National Park Service and choose the dog icon.
The attribute will be shown with an explanatory icon.
- Click OK.
- In the Locate Park pane, click the pin next to the address search. Drop a pin in the middle of Naperville.
The parks within a 1 mile radius are listed.
- From the list, click a few parks to ensure the Dogs Allowed icon is visible under Activities.
Be sure to click the park name on the list in the Locate Park pane, not the pop-up on the map itself.
- At the bottom of the pane, click Save, and click Launch.
You've launched an application that will help the citizens of Naperville find and enjoy their parks. Using ArcGIS Solutions, you deployed a solution and configured it to show your data in the way you wanted. Now that you've downloaded the Solutions add-in, if you want to deploy solutions in the future, you can access them through the Share tab in ArcGIS Pro.
You can find more lessons in the Learn ArcGIS Lesson Gallery.