Start ArcGIS Pro Dialog

852
5
Jump to solution
04-20-2017 08:52 AM
Highlighted
New Contributor III

Hello,

I am trying to start a ArcGIS Pro Dialog in my Add In, but I can't find them in the SDK. Can someone tell me how to open the two following Dialogs:

1. The User has to select a Feature-Class, so I need a "OpenFileDialog" with a Feature-Class Filter. 

2. The User has to select a Symbol, so I need to open a kind of "Project/Styles"-Dialog with a specific Style selected. Then the User selects one Symbol of the Style, presses a OK/Apply Button and the selected Symbol is returned to my Add-In.

Thank you very much for your help.

Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
by Esri Regular Contributor
Esri Regular Contributor
5 Replies
Highlighted
by Esri Regular Contributor
Esri Regular Contributor
Highlighted
New Contributor III

Thanks, that's what I was looking for.

Reply
0 Kudos
Highlighted
Occasional Contributor

The article in Item #1 I think has a bug.addToProjectDialog to setup the dialog and then calling addToMapDialog

addToProjectDialog.Filter = ItemFilters.composite_maps_import; bool? ok = addToMapDialog.ShowDialog();
Reply
0 Kudos
Highlighted
by Esri Regular Contributor
Esri Regular Contributor

Thanks for pointing this out, I will fix this.

- Wolf

Reply
0 Kudos
Highlighted
Occasional Contributor

I am a real stickler for documentation. I also found other confusing articles here:

https://community.esri.com/thread/252078-confused-about-proconcepts-articles 

Reply
0 Kudos