Heritage Program/CDC

Download zip file containing documentation and all necessary files. 

Request necessary files from NatureServe:

  1. Setup automation of downloads of nightly Biotics backups according to this solution. NOTE the Kiteworks folder location in Step 10 and provide to NatureServe in Step 4.
  2. In ArcGIS Pro, from the Project tab, select Python.
    • Copy the path to the arcgispro-py3, as highlighted in the screenshot below. Graphical user interface, application

Description automatically generated
  3. Email biotics@natureserve.orgrequesting ability to automate nightly Biotics backups. Provide:
    • path to Kiteworks folder from Step 1
    • path to the arcgispro-py3 from Step 2


NatureServe:

  1. Update Publish_backups_batch_file.py:
    1. program - line 21
    2. arcpy.env.workspace according to Kiteworks folder path - line 22
  2. Update Publish_Biotics_Backups.bat with user's path to arcgispro-py3


Heritage Program/CDC

  1. Save the two files provided by NatureServe to the Kiteworks folder identified in Step 1. NOTE: Alternatively, you can update the script to reflect where the files are written.
  2. Test that the batch file works by double clicking it.
    A screenshot of a computer screen

Description automatically generated
  3. Log into ArcGIS Online and verify that the Biotics layers hosted feature layer was created.
    Website, timeline

Description automatically generatedIf the layer was not created or the script did not run successfully, email biotics@natureserve.org to submit a ticket for assistance.

Create a scheduled task

Create a scheduled task to run the script daily, to automatically update the data within the Biotics layers, so the data will not get stale.

  1. From the Windows Search on the Taskbar, type in Task Scheduler, and open the Task Scheduler.
    Graphical user interface

Description automatically generated
  2. Within the Task Scheduler, Create Task.
  3. Within Create Task, on the General tab, name the task (ie. Download and Publish Biotics spatial layers).
    Graphical user interface, text, application

Description automatically generated
  4. From the Triggers tab, select New.
  5. Within New Trigger, indicate to run the task Daily (or as often as preferred) and select the time the task should be run. NOTE: The computer has to be on to run the task, so make sure you indicate the time accordingly. Click OK.
    Graphical user interface, text, application

Description automatically generated
  6. From the Actions tab, click New.
  7. Within New Action, Start a program and navigate to the Publish_Biotics_Backups.bat script. Click OK.
    Graphical user interface, text

Description automatically generated
  8. From the Conditions tab, indicate to Wake the computer to run this task.
    Graphical user interface, text, application, email

Description automatically generated
  9. Click OK to save the scheduled task.