Configure application

Adopta can be configured and deployed on your local web server with ArcGIS Web AppBuilder (Developer Edition). The application consumes the ArcGIS Online map you authored and geographic information from your organization.

Adopta widget

To deploy the Adopta widget, complete the following steps:

  1. Download and install the ArcGIS Web AppBuilder (Developer Edition).
  2. Using Windows Explorer, browse to <your directory>\Application\Adopta folder.
  3. Copy the Adopta folder and paste it in your \arcgis-web-appbuilder\client\stemapp\widgets folder.
  4. Start Web AppBuilder.
  5. If it's the first time using Web AppBuilder (Developer Edition), then specify the URL to you ArcGIS Online organization and provide an app id for web appbuilder.

Adopt a Catch Basin application

To configure the Adopta widget for an asset maintenance program application for catch basins using your Web AppBuilder (Developer Edition), complete the following steps:

  1. On the Web AppBuilder home page, click Create New.
  2. Choose Default 2D, click Next and add the following:
    • Title: Adopt a Catch Basin.
    • Summary: The Adopt a Catch Basin application is used by government agencies and other organizations to engage the public in the operations and maintenance of natural and man-made assets.
  3. Click OK.
  4. Click the Theme tab and choose the Plateau Theme, then choose a Style and Layout for your Adopta application.
  5. Click the Map tab > Choose Web Map, then browse to the Catch Basins map and click OK.
  6. Click the Widgets tab, click Set the widget in this controller and remove the Legend widget and Layer List widget.
  7. Click + to open the widget collection and choose the Adopta widget, and then click OK.
  8. Change the name of the Adopta to Adopt a Catch Basin.
  9. Choose a Asset layer, by clicking Set and choosing CatchBasin layer from the Select asset layer drop-down.
  10. Click OK.
  11. Choose the Nickname field from the Asset nickname field drop-down.
  12. Choose your Authentication GP service, by clicking Set and typing in your AuthGP service into the URL text box.
  13. Click Validate > OK. Layer and Authentications settings tab
  14. Click the Actions tab.
  15. In the Status: Adopt section, click Add Field in the Action section.
  16. Click the drop-down below RelateGUID and choose Assetstatus.
  17. Click the drop-down below SetValue and choose SetValue.
  18. In the text box below GlobalID and type Adopted.
  19. In the Status: Abandon section, click Add Field in the Action section.
  20. Click the drop-down below RelateGUID and choose Assetstatus.
  21. Click the drop-down below Clear and choose SetValue.
  22. In the text box next to Set Value type Available.
  23. Click OK.
  24. Hover over the Adopt a Catch Basin widget, then click the dot in the lower left and change it to dark green, so the widget automatically opens when the app starts.
  25. Click the Attribute tab and remove the subtitle.
  26. Save the application.
  27. Launch your Adopta a Catch Basin application.
  28. Publish the application on your server.
Top