Skip To Content

Publish an operational layer and configure the app

In the previous lesson, you published a garden map to the web as a basemap. In this lesson, you will return to ArcGIS Pro to create and publish the operational layer that will make your finished app interactive.

Publish an operational layer of garden plots

An operational layer is one that people can interact with. You will publish the garden plots layer so garden members can view pop-ups and email plot holders.

  1. If necessary, open Garden_Map.aprx in ArcGIS Pro.
  2. In the Contents pane, right-click GardenPlots and choose Attribute Table.

    GardenPlots attribute table, showing columns for name, plot, email, and mailto

    Notice some fields of interest: name, plot, email, and mailto (a specially formatted version of email). These will be key elements of data in your operational layer of plot holders.

    Note:

    Mailto is an expanded version of the email address that allows users to click a link in a website to send an email without first having to copy the address and open an email client.

  3. Close the attribute table.
  4. In the Contents pane, right-click GardenPlots, point to Sharing, and choose Share As Web Layer.
    Tip:

    If Share As Web Layer is not available, look for your Sign-in Status at the top of the ribbon. If it says Not signed in, click it and sign in.

  5. Enter the following parameters:

    • For Name, type TGGPlotholders_yourName.
    • For Summary, type This is a query-only feature service of the plots and plot holders at Tequesquite Community Garden at Brian Bonaminio Park in Riverside, California.
    • For Tags, type Riverside, Tequesquite Community Garden.

  6. For Layer Type, choose Feature.
  7. For Share with, choose Everyone.

    Share As Web Layer pane with all fields filled

  8. Click Analyze and click Publish.
    Tip:

    If you encounter a warning that the Layer does not have a feature template set, you can ignore it. A default feature template will be created for you.

  9. Close ArcGIS Pro.

    Feature services (especially small ones such as this) generally do not take as long to process as the tiled map service from the previous lesson. Once the system tells you it has successfully published the feature service, it is done. You can go to your ArcGIS organizational account to continue your work.

Update the web map

Next, you will add your new feature service as an operational layer to the web map that you created earlier.

  1. If necessary, sign in to your ArcGIS organizational account.
  2. At the top of your organization home page, click Content.

    Content

  3. Click the ellipses button next to the Tequesquite Community Garden web map and choose Open in Map Viewer.

    Open in Map Viewer option on the web map menu

    Tip:

    If you see an Open map warning for the Tequesquite Community Garden map, click Yes, open the map.

  4. Click Add and choose Search for Layers.
  5. Click the Add button next to TCGPlotholders_yourName.

    TCGPlotholders_yourName feature layer in the search results with an add button

  6. Click the back arrow to return to Content.
  7. In the Contents pane, point to the TCGPlotholders yourName layer. Click the More Options button and choose Rename.

    Rename in the More Options menu

  8. Change the layer name to Garden Plots and click OK.

    Rename window with Layer Name set to Garden Plots

  9. In the Contents pane, point to the Garden Plots layer. Click the More Options button and choose Create Labels.
  10. In the Label Features pane, for Text, choose plot.
  11. Set the size to 12 points, the style to bold, and the color to forest green.

    Label Features properties set to plot, 12, bold, and green

    At the full map scale, the new labels are too big for the plot features. You will adjust the visibility to specify at what zoom levels the labels should draw on the map.

  12. For Visible Range, click World and choose Small Building (1:800).

    Visible Range slider set to Small Building to Room

  13. On the map, zoom in one level to display the labels.
  14. Click OK to apply the labels.

    The map showing garden plots with number labels

    Next, you will use your Garden Plots layer as the source for a pop-up that includes the site holder's name and an email link.

  15. In the Contents pane, point to the Garden Plots layer. Click the More Options button and choose Configure Pop-up.
  16. In the Configure Pop-up pane, clear the Pop-up Title text and type Plot Number: (including a colon and a single space).
  17. Click the Add Field Name or expression button and choose plot {plot} from the list.

    Pop-up title set to Plot Number: {plot}

  18. For Display, choose A custom attribute display.

    Pop-up contents display set to A custom attribute display

  19. Click Configure.

    The Custom Attribute Display window allows you to format how a pop-up displays information.

  20. In the Custom Attribute Display window, type This plot is held by: (including a colon and a single space).
  21. Click the Add Field Name button and click name {name}.

    Custom attribute display set to This plot is held by: {name}

  22. Press Enter twice and type email the plot holder.
  23. Highlight the text and click the Create Link button.

    Create link for the highlighted text

  24. Under Link Properties, for URL, type {mailto}.

    Link Properties showing URL set to {mailto} and Link Text set to email the plot holder

  25. Click Set and click OK.
  26. At the bottom of the Configure Pop-up pane, click OK.
  27. Test the pop-up by clicking one of the Garden Plot features.

    Pop-up for plot number 51, held by Hyo Dunnigan

  28. Click the email link. (It should open to a new message in your default email application.) Close the email and the pop-up.

    Now you are ready to create a web app for this map. First, you will zoom the map to set a default map extent for the web app when it first opens. (After you have deployed the app, you can always come back into the web map and save it at a different zoom level if you want to adjust it.)

  29. Zoom in on the map as far as you can, and then zoom out two levels.

    The garden map

  30. Click Save.

Share a web map

Your web map is complete and ready to share with the other community garden members.

  1. Click the Share button.

    Share web map

  2. In the Share window, check Everyone (public) to share the app with the world.
    Tip:

    If you are prompted to update the sharing properties of the layers, click Update sharing.

  3. Click Create a Web App.

    Create a web app

    A window of configurable templates appears.

  4. In the Create a New Web App window, click Showcase a Map.

    Showcase a Map

  5. Click Minimalist and click Create Web App.

    Create web app from the Minimalist template

  6. Enter the following fields:

    • For Title, type Email the TCG plot holder.
    • For Tags, type Riverside, Tequesquite Community Garden.
    • For Summary, type This is a web application for emailing the named plot holders at the Tequesquite Community Garden by clicking on their plots.

  7. Click Done. The Configure window appears.
  8. Click on one of the garden plots.

    The plot is selected and a pop-up appears.

    Pop-up for plot number 38, held by Luther Fetzer

    Community garden members will be able to use this web app to discover who holds specific plots, and email them with problems, notifications, or compliments.

  9. Close the pop-up.
  10. Click the Search tab and check the Enable search tool box.
  11. Uncheck Limit search to the default extent of the map and ArcGIS World Geocoding Service.
  12. Check the Garden Plots box.

    Enable search tool and enable Garden Plots as the only source

  13. Click Save.

    A search bar appears at the top of the map.

  14. Search for Ruth and press Enter.

    Search for Ruth in the map search bar

    The map zooms to plot number 108 and opens its pop-up. This feature will be useful for members of the community garden to find their plot, or another held by a friend.

  15. Close the pop-up.
  16. Click the Options tab.
  17. Check the Display the side panel when the app loads and Display map details in side panel check boxes.

    Display the side panel with map details

  18. Click Save and click Launch.

    A new tab opens in your browser showing the web app.

  19. Close the Configure tab in your browser.
  20. In the web app, test that the search bar and pop-ups work.

    Pop-up for plot number 91, held by Allen Kearney

    The Details pane shows the map's name, but it could also have useful information and instructions.

    Details of web app showing the map's title and placeholder text

    You can add details by updating the map's description.

  21. Open a new tab in your browser and go to your ArcGIS organizational account.
  22. In My Content, click the Tequesquite Community Garden web map.

    Tequesquite Community Garden Web Map in My Content

  23. The details page opens. Next to Description, click the Edit button.

    Edit map description on the item details page

  24. Type or copy and paste the following text:

    • The Tequesquite Community Garden is in Brian Bonaminio Park in Riverside, California. Use this map to contact garden plot holders.
    • Click on a plot to find the holder's name and send them an email.
    • Find plots by holder's name using the search bar at the top of the map.

  25. Click Save and close the web map details tab on your browser.
  26. Return to the browser tab showing the web app and refresh the page.

    Now the Details pane has useful information and instructions for the map readers.

    Web app details showing the map name and description

  27. Copy the URL of the web app from the address bar of the browser.

    Highlighted URL of the web app in the address bar of the browser

  28. Email the URL to your smartphone if you have one, and test it yourself. Close the web app.

In this lesson, you published a feature service and delivered a working map-based email application. This concludes the collection of lessons.

You can find more lessons in the Learn ArcGIS Lesson Gallery.