My Trash Services can be used to inventory curbside services and collection facilities, communicate holiday closures, and provide the public with a way to request additional services.
In this topic, you'll learn how to configure the My Trash Services solution to meet specific needs in your organization.
Load data
The Trash Service Data Management ArcGIS Pro project includes a series of tasks that can be used to load your existing trash service data, and manage key characteristics, in the layers provided with the solution.
- Sign in to your ArcGIS organization and browse to the Trash Service Data Management Desktop Application Template.
- From the item page, click Download.
- Unzip and open the Trash Service Data Management project.
- On the View tab, in the Window group, click Catalog Pane.
- In the Catalog pane, expand the Tasks folder, and double-click the Trash Data Management task.
- In the Tasks pane, click the Getting Started task group to expand the collection of tasks.
Trash Service Data Management is used to load and create foundational data used in the My Trash Services solution such as Curbside Service Schedules and Self Service Facilities apps. The solution uses three foundational datasets:
- Self Service Facilities
- Curbside Service Areas
- Pickup Events Areas
Self Service Facilities contains locations of facilities where the public can bring trash, recycling, or other waste.
Curbside Service Areas contains geographies that define service areas for routine pickups.
Pickup Events Areas contains geographies that define areas for seasonal or one time pickups.
Before proceeding to subsequent tasks, follow the instructions in the Add trash service geography layer task to add the Trash Services feature layer deployed with the solution.
Load existing trash services data
You may have existing service areas, facilities, and pickup events areas, which can be loaded into the Trash Services feature layer.
Self Service Facilities use a standard for operational days and hours in the Self Service Facilities app included with the My Trash Services solution. To load existing facility data, designate the type, format the operational days and hours, and edit attributes follow the instructions in the Self Service Facilities task.
The Curbside Services Areas use a standard for scheduled pick ups in the Curbside Service Schedules app included with the My Trash Services solution. To load existing curbside service area data, designate the pickup type, format the pickup days and edit attributes, follow the instructions in the Curbside Service Areas task.
The Pickup Events are used in the Curbside Service Schedules app included with the My Trash Services solution. To load existing pickup event data and provide information regarding the event, follow the instructions in the Pickup Events task.
Create new trash services data
You may need to create new trash services data if existing data is not available. Follow the instructions in the Create new trash services data task group to create new facilities, curbside service areas, or pick up events.
Note:
Map layers must be visible to create new data.
Configure the My Trash Services site
The My Trash Services solution includes the My Trash Services ArcGIS Hub site. This site can be configured with your organization's branding and used to share trash service information with the public.
Update with organizational information
After deploying the My Trash Services solution, the My Trash Services Hub site layout requires a few updates to fit your local context.
- Verify that you are signed in to your ArcGIS organization and browse to the My Trash Services site.
- From the item page, click Configure.
- Scroll to any sections that you want to update, hover over the card, and click the edit pencil that appears in the horizontal toolbar, and then edit the content with information specific to your organization.
- In the side panel, click Footer.
A custom footer is provided. In most cases, you will need to update it with your organization's branding, contact information, and social media references.
- Click the HTML box.
The HTML window appears.
- Make the necessary changes and click Apply.
- Click Save.
- Click the Save drop-down arrow and click Publish Draft.
Share items with the public
Several layer views, maps and apps included in the My Trash Services solution must be shared with everyone so they can be accessed by the public on the My Trash Services site.
To share items with the public, complete the following steps:
- Verify that you are signed in to your ArcGIS organization and browse to the My Trash Services folder.
- Next to each of the following items, check the check box:
Name Item type TrashServices_public
Feature layer (hosted, view)
Requests_public
Feature layer (hosted, view)
Requests_submit
Feature layer (hosted, view)
Self Service Facilities
Web Map
Curbside Service Schedules
Web Map
Self Service Facilities
Instant App
Curbside Service Schedules Instant App
Trash Requests
Form
My Trash Services
Site Application
- Click Share.
- In the Share window, click Everyone (public) and click Save.
The Warning: Sharing editable layers publicly message appears notifying you that you are sharing editable layers publicly.
- Click Update.
Modify service request types
The Trash Requests solution can be used to solicit requests for trash service from the general public. Service request types appear in the Trash Requests ArcGIS Survey123 form.
The My Trash Services solution includes several service request types. In some cases, you may want to modify service request types to meet your organization’s needs. For example, you may want different request types available that are not included in the Trash Requests form.
- Start ArcGIS Survey123 Connect and sign in to your ArcGIS organization.
- Click Trash Request to download the survey.
- In the Download window, click Download and click OK.
- Click Trash Requests to open the survey.
- On the left, from the side toolbar, click the XLSForm button.
- At the bottom of the Microsoft Excel spreadsheet, click the choices tab.
This tab comprises all the selectable options for survey questions.
- In the list_name column type reqtype.
- Type the new service request type into the name and label columns.
- Repeat steps 7 and 8 for each new service request type.
- Save and close the Microsoft Excel spreadsheet and preview your changes in ArcGIS Survey123 Connect.
- In ArcGIS Survey123 Connect, in the left toolbar, click Publish to publish your changes.
- Click Publish survey to publish your changes, and then click OK.
Configure directions
Note:
This workflow is optional and doesn't need to b completed in order to work with the solution
The Self Service Facilities app can be used by the general public to locate facilities where they can bring trash, recycling, or other waste. Directions to the nearest facility can be enabled so users can quickly find the facility they are looking for.
Follow the steps below to enable directions.
- Verify that you are signed in to your ArcGIS organization and browse to the Self Service Facilities app.
- From the item page, click Configure.
Close the Welcome to the App Setup Page splash page, if necessary.
- Click Nearby > Options and turn on the Show directions toggle button.
- Check the check box next to the Self Service Facilities layer.
- Click Publish.
- Click Confirm.
The Authorize premium content window appears with information related to authorization.
- Click Authorize.
- Click Launch.
Populate operational hours
Note:
This workflow is optional and doesn't need to be completed in order to work with the solution.This solution leverages the Opening Hours Specification to display operating hours for a place or service. When you populate the data fully, Arcade expressions interpret the data and display the operating hours in a human-readable format in the map pop-up. Understanding the data specification and options in the expressions will help you populate your data and display it in the maps and apps provided with the ArcGIS Solution.
Operating Hours specification
The Operating Hours Specification allows you to store a combination of operating hours in a single field but relies on a series of data standards to render the information correctly. To ensure operating hours are displayed correctly, follow the standards below:
- Enter all times using a 24-hour clock without a leading 0—for example, Tu (7:00-19:00).
- Use a two-letter abbreviation for each day, with the first letter capitalized—for example, Mo, Tu, We, Th, Fr, Sa, Su.
- When a location is open 24 hours a day, use 24 Hours—for example, Mo (24 Hours).
- When a location is closed on a specific day, use Closed—for example, Sa-Sun (Closed).
- Enclose all times and closed statuses in parentheses—for example, Tu (7:00-19:00); We-Mo (Closed).
- Separate days and ranges with a semicolon to denote the two (or more) groups—for example, Th-Fr (7:00-19:00); Sa (24 Hours).
Using the standards above, a diverse set of operating hours can be populated for your places and services. Some common examples include the following:
- To specify the place is open from 9:00 a.m. to 5:00 p.m. seven days a week, populate the operating hours field with the following: Mo-Su (9:00-17:00).
- To specify the place is open from 9:00 a.m. to 5:00 p.m. during the week and closed on weekends, populate the operating hours field with the following: Mo-Fr (9:00-17:00); Sa-Su (Closed).
- To specify the place is open one day (Tuesday) a week, populate the operating hours field with the following: Tu (7:00-19:00); We-Mo (Closed).
- To specify the place has operating hours that vary by day, populate the operating hours field with the following: Mo-Tu (9:00-17:00); We (Closed); Th-Fr (7:00-19:00); Sa (24 Hours); Su (Closed).
Operating hours data can be populated all at once for many places and services using Calculate field values or uniquely entered for each place or service using an application provided with the solution.
Populate calendar
This solution leverages Arcade to populate and display a calendar showing when the next curbside services will occur. When you populate the data fully, the Arcade expression interprets the data and displays the curbside services on a calendar.
Note:
This workflow is optional and doesn't need to be completed in order to work with the solution.Pickup schedule
Pickup schedules are stored as unique schedules for areas in your community. The information below outlines how the information should be structured:
- Use the Schedule field to indicate how often curbside pickups will occur.
- Use the Pick Up Day field to indicate which day of the week curbside pickups will occur.
- Use the Pick Up Week field to indicate which week a monthly pickup will occur.
Pickup Schedules can be populated all at once for many areas using Calculate field values or uniquely entered for each place or service using an application provided with the solution.
Arcade expressions
The Arcade expression includes several settings that allow you to configure the look and feel of what is displayed in the web map pop-up. The expression works with the pickup data and web map pop-up configurations to display calendar information in your map and app.
This solution includes Arcade expressions. Tod modify one of these expressions, compete the following steps:
- Verify that you are signed in to your ArcGIS organization and browse to the Curbside Service Schedules map.
- Open the item page and click Open in Map Viewer.
- Click More and click Configure Pop-ups on the Trash layer.
- Click Manage, double-click the Arcade expression you want to modify.
Each Arcade expression has a set of variables that can be configured according to your organization’s needs. Review the expression notes and modify the variables as needed. Do not change anything else in the expressions.
- Click OK.