Esri / data-assistant

ArcGIS Pro Add-in that assists in emergency management, local government and state government data aggregation workflows.
Apache License 2.0
22 stars 8 forks source link

Having no project will abort dlaPublish.py #189

Closed JRosenfeldIntern closed 7 years ago

JRosenfeldIntern commented 7 years ago

In dlaPublish here the program will abort early if no project is specified in the xml file.

It looks like this was addressed by @MikeMillerGIS in this issue so maybe I'm missing something. Can someone explain why having a project here is necessary?

MikeMillerGIS commented 7 years ago

The project file is required when running the DA headless, outside of pro. We really should augment to code to check the calling app and only exit when it is not Pro.