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.

  1. Go to the ArcGIS Solutions Gallery.
  2. In the search box, type Park Locator.
  3. Point to Park Locator and click Learn More.

    Choose Park Locator solution

    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.

  4. On the Overview card, click View Application.

    View example 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.

  1. Start ArcGIS Pro. If prompted, sign in using your licensed ArcGIS account.
    Note:

    If you don't have ArcGIS Pro or an ArcGIS account, you can sign up for an ArcGIS free trial.

  2. Under New, click Map.
  3. In the Create a New Project window, name the project Park Locator and click OK.

    The project opens to a blank map.

  4. On the ribbon, click the Share tab. In the Deploy group, click ArcGIS Solutions.

    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.

  5. 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.

  6. If necessary, open a web browser and sign in to your organizational account. In the Tasks pane, click Finish.
  7. Double-click the Deploy an ArcGIS Solution task.

    Available solutions are listed by industry category.

    Solutions list

  8. In the search bar, type park locator and press Enter.
  9. Choose Park Locator, then click Options. Uncheck Use Existing Items In The Organization.

    Create new applications and layers for the Solution.

    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.

  10. 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.

  11. Click the green check.

    Open the deployed solution

    The solution opens in your organization. Park Locator is a configuration of Web AppBuilder for ArcGIS, and the Item Details page reflects that.

    Solutions web app

    The web app is currently blank. In the next lesson, you'll configure the solution and add data for your community.

  12. On the ribbon, click Content.

    When the solution deployed, it added several items to your content.

    New layers added by the solution

    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.

  13. 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.

  1. Open your Park Locator project.
  2. Download the NapervilleParksData.zip file and unzip it to your project folder (Documents\ArcGIS\Projects\Park Locator).
  3. If the Catalog Pane is not visible, on the ribbon, click the View tab. In the Windows group, click Catalog Pane.
  4. In the Catalog pane, click Portal and click My Content.

    My Content

  5. Right-click the ParkRecreationFacilities layer and choose Add To Current Map.

    Add To Current Map

  6. 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.

  7. 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.

  8. Return to the Tasks pane. Double-click Configure an ArcGIS Solution and click Next Step.
  9. 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.

  10. 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.

  11. Click Run.

    Add new field

    The new attribute field is added to the end of the attribute table.

  12. In the Park and Recreation Facilities attribute table, scroll until you see the Dogs Allowed field.
  13. 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.

  14. In the Modify Domains pane, for Input Layer or Table, choose Park and Recreation Facilities and set Field to Dogs Allowed.
  15. 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.

    Modify Domains

    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.

  16. Click Run. After the tool runs, click Finish.

Load data

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.

  1. 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).
  2. Choose NapervilleParks and click OK.

    The feature class is added to your map.

  3. In the Tasks pane, double-click the Load Data task.
  4. For Input Datasets, click the arrow and choose Naperville Parks.
  5. 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.

  6. Under Output Fields, click facilityarea (0). In the Source column, click Add New Source, choose PARKAREA, and click Add Selected.

    Add Selected fields

  7. Add the following fields:
    • agencyurl: PARKURL
    • handicapaccess: ADACOMPLY
  8. Click Run.
  9. 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.

  10. For Input Table, choose Park and Recreation Facilities. For Field Name, choose Dogs Allowed.
  11. For Expression Type, choose Arcade.
  12. 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');

    IIF statement

    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').

  13. Click Run.

    The field populates with the specified values.

  14. 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.

  1. 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.

  2. Click the options button next to ParkRecreationFacilities_public and choose View item details.

    Change feature layer view

  3. On the ParkRecreationFacilities_public details page, click the Visualization tab. In the Layer menu, choose Park and Recreation Facilities.
  4. Click the options button. In the More Options menu, point to Set View Definition and choose Define Fields.

    Change layer

  5. 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.

  6. 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.

  7. In Web AppBuilder, in the Locate Park pane, search for Naperville, IL.
  8. Close the search pop-up and zoom out until you see most of the parks.

    Set default extent

  9. Click the Map tab.

    map tab

  10. 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.

  11. Click the Widget tab. In the Widget pane, click Set the widgets in this controller.

    Set the widgets in this controller

    This controller allows you to change the widgets that are part of the application.

  12. Point to the Park Locator widget and click the edit button.

    The Configure Locate Park window appears.

  13. Click the Symbology Settings tab and click Add New Symbols.

    A new symbol type is added to the bottom of the list.

  14. For the new symbol, change Field to Dogs Allowed and Values to Yes.
  15. Click the default green pin. In the symbol menu, expand the Basic menu. Click National Park Service and choose the dog icon.

    Dog icon

    The attribute will be shown with an explanatory icon.

  16. Click OK.
  17. 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.

  18. From the list, click a few parks to ensure the Dogs Allowed icon is visible under Activities.
    Note:

    Be sure to click the park name on the list in the Locate Park pane, not the pop-up on the map itself.

  19. 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.