In this topic, you will learn how to configure the Coronavirus Business Reopening solution to meet specific needs in your organization.
The Coronavirus Business Reopening solution can be used by organizations as a source of information while making the decision to reopen locations in multiple states.
Facility information must be loaded and the ArcGIS Notebook must be run before using the dashboard. The FacilitySource file can be used to organize facility information before loading it into ArcGIS. Ensure that you populate the facilityid column with unique values in the FacilitySource; otherwise, the application will not work effectively.
In some cases, you may have an inventory of facilities in ArcGIS already. If you do, review the layers provided with the solution and determine what, if any, source data you would like to load. Then load your existing data into the layers provided with the ArcGIS Solution before sharing the maps or applications.
If you do have to load data into the solution, you may want to develop a source-target matrix to track how your source data will be loaded into the target layer or layers used in the solution.
To load your facilities from a spreadsheet, complete the following steps:
- Sign in to your ArcGIS organization and browse to the FacilitiesSource item.
- Open items details page.
- Click Download.
- Edit the CSV and populate your facility information in the document.
At a minimum, you must provide a unique facilityid and the latitude and longitude for each facility in the FacilitySource. If you don't have a unique id, you can edit the CSV in Excel and copy this formula into the first row of the facilityid column: =CONCATENATE("Facility-", TEXT(ROW(A1),"00000")). You can then drag the right corner of the cell to fill the formula down for all facilities giving each a unique id.
- In your ArcGIS organization, at the top of the site, click Content.
- On the My Content tab, type facilities in the search box.
- Under the Item Type, click Layers - Feature Layers.
- Click on the item title for the layer that you want to load data into to view its details.
- Click Update Data and select Append Data to Layer.
- Under Filename, choose your spreadsheet.
- Click Upload and Continue.
- Click Show field matching to map the fields.
- If you are only appending new features to the layer, click Apply Updates.
To make additional updates to a hosted feature layer, see Append data to layers.
Extend the business reopening facilities layer
The Coronavirus Business Reopening solution contains a layer for facilities that represents your organization's assets. Organizations may want to modify the facilities layer or the Facility Status Report surveys by first adding new fields to the feature layers and then configuring the surveys to use the newly created fields. When doing so, the new fields must be exposed in the appropriate views. Additionally, some views are created by joining two sources together, and these views must be re-created with the same name and URL after a new field is added.
Organizations may want to modify the Facility Status Report survey by adding new survey questions. When adding new questions, begin with the Update feature layer views section below. For changes such as removing questions or formatting the survey, proceed to the Modify Facility Status Report survey section.
Update feature layer views
To add one, or more, fields to a layer and re-create the views, complete the following steps:
- Add a new field to a layer in the Facilities hosted feature layer.
- Browse to the view in your contents.
- Click the Open in Map View drop-down arrow and click Add to new map.
- Click the More Options button on the appropriate layer or table, click Set View Definition, and click Define Fields.
- Scroll to the newly created field and check the box. Click Apply.
The new field is added to the view’s definition.
To update a join view, complete the following steps:
- Browse to the join view in your contents (for example, Facilities_current).
- On the item details page, scroll to the URL section. Click the Copy button.
- Paste the copied URL into Windows Notepad or another text editor for reference.
The feature layer name will be used below when re-creating the join. The name can be found after services in the URL structure and may also contain a unique GUID. For example, Facilities_current_a45f71a48587425c9b90ee5527cd26d1.
- Delete the existing join view (for example, Facilities_current).
- Add the source hosted feature layer to a new web map (for example, Facilities).
- Click Analysis > Summarize Data > Join Features.
- Configure the join using the following table:
Name of join Target layer Layer to join to the target layer Fields to match Join operation Define which record is kept
US Counties Coronavirus Trends
countyfips = cty_fips
Join one to one
Facilities Status Report
GlobalID = facilityguid
Join one to one
Order by created_date/Newest
Ensure that each new join view uses the names defined in this table. If you use the same names, the layers in the map and the existing dashboard widgets do not have to be reconfigured. If your join view contains a unique GUID, the new join view must be named with the unique GUID.
- If necessary, uncheck Use current map extent. Check Create results as hosted feature layer view.
- Optionally, update the Coronavirus Business Reopening Dashboard to account for the new fields you added to the layers.
Modify a Facility Status Report survey
To modify a Facility Status Report survey, complete the following steps:
- Install ArcGIS Survey123 Connect.
- Start ArcGIS Survey123 Connect and sign in to your ArcGIS organization.
- Click Facility Status Report to download the survey.
- Click Facility Status Report again to open the survey.
- In the left pane, click Open XLSForm Spreadsheet.
- In the Microsoft Excel spreadsheet, click the choices tab.
This tab comprises all the selectable options for survey questions.
- Revise the survey to reflect your needs.
- Save the Microsoft Excel spreadsheet and preview your changes in ArcGIS Survey123 Connect.
- In ArcGIS Survey123 Connect, click Publish in the left pane to publish your changes.