I'm trying to move a desktop app (ArcObjects) from ArcMap to ArcGIS Pro.
The first thing this app does when it opens up, is ask the user for his username and password and other details.
Since the user will be using the same project every time, I think the best approach would be to use the configuration mode to build the same app for ArcGIS Pro. Then, when the startPage event occurs in ArcGIS Pro, it would show the login page and once the user has provided the correct info, the startPage would be completed and ArcGIS Pro would open up the default project.
Is that the right approach? And if so, is there an example that shows how it can be done?
Thanks!
Solved! Go to Solution.
Yes, this would be the correct approach. You can take a look at this sample: https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Framework/ConfigWithMap
you might want to remove the customization of the Ribbon UI code in ConfigurationManagerWIthMap.cs:
protected override void OnUpdateDatabase(XDocument database)
Yes, this would be the correct approach. You can take a look at this sample: https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Framework/ConfigWithMap
you might want to remove the customization of the Ribbon UI code in ConfigurationManagerWIthMap.cs:
protected override void OnUpdateDatabase(XDocument database)