In this topic, you'll learn how to configure the My Trash Services solution to meet specific needs in your organization.
Load data
In some cases, you may already have this information in ArcGIS or another mapping system. Review the layers provided with the solution and determine what source data you want to load. Then, load your existing data into the layers provided with the solution before sharing the maps or apps.
Once you have determined what source data must be loaded, complete one or more of the data loading workflows below.
Load data from a shapefile
Load data into the PublicWorksDistrict and TrashRecyclingFacilities layers from a shapefile by completing the following steps:
- Create a .zip file of your shapefile.
- Sign in to your ArcGIS organization and browse to the feature layer you want to populate.
- Open the item page and click Update Data > Append Data to Layer.
- Click Choose File and browse to your .zip file, and click Open.
- Click Upload and Continue.
- Click Choose the layer that you wish to append data into drop-down arrow and choose the layer that contains the updated data.
- Uncheck Update existing features.
- Click Show field matching and map the fields between the two layers.
- Click Apply Updates.
Tip:
To make additional updates to a hosted feature layer, see Append data to layers.
Configure directions
Follow the steps below to connect to a routing service and configure the widget to enable directions in the app.
Configure widget
To configure an app to use routes and provide directions, complete the following steps:
- Sign in to your ArcGIS organization and browse to the ArcGIS Web AppBuilder app.
- Open the item page and click Edit Application.
- Click the Widget tab and click Set the widget in this controler to open the page for an in-panel widget.
- Hover over the Near Me widget and click the Configure this widget button to open the widget configuration window.
- Check the Enable Directions check box if it is not checked.
- Click the Direction Settings tab, click Set, and choose a routing service.
- Click Next and choose one or more route layers, click OK, and click OK again.
- Save the app and share it with everyone.
- Open the app.
Esri premium content
The app draws routes and provides directions using the ArcGIS Online World Route Service. This service requires subscriber access because it consumes credits. See Configure Living Atlas content to enable access to premium content.