Open clareprice opened 7 years ago
Not sure if that dialog box is available in the SDK for .NET/C#. The closest I could find was ArcGIS.Desktop.Framework.Dialogs.BrowseForFolder but that seems to open up a windows dialog box, not an ArcGIS Pro one.
@chris-fox or @ChrisBuscaglia have one of you ever worked with something like this?
EDIT: Scratch that, I found it. If you're curious it is ArcGIS.Desktop.Catalog.OpenItemDialog
@clareprice I looked into this again today. Turns out the default Windows dialog box is the expected behavior for a GPTool searching for xml input. The reason being is the ArcGIS dialog box does not accept filtering for .xml files. This behavior can be seen in built in tools such as "Import XML Workspace Document".
@MikeMillerGIS @previnWong @JRosenfeldIntern
To stay consistent with the ArcGIS Pro experience and the other gp based tools in data assistant, when adding and browsing for files the ArcGIS Pro project dialog should open versus file explorer. Example screenshots below.
New Source-Target Configuration File dialog for adding: C:\Users\clar7284\Documents\ArcGIS\Projects\DataAssistantDoc\SourceTarget.xml
Configure Data Mapping file explorer: