New Button on Versions Tab

708
3
Jump to solution
11-19-2021 02:35 PM
pspada_WT
New Contributor III

Hi, I'm trying to develop an Add-in that add a new button to the versions Tab.

It's possible?

 

Thanks for the help

0 Kudos
1 Solution

Accepted Solutions
Wolf
by Esri Regular Contributor
Esri Regular Contributor

You can create a module add-in project, then add an ArcGIS Pro button in that project.  By default the button will be on an add-in tab.   Now you have to modify the content of the config.daml to insert your button into another tab, group, etc.   This document gives an overview of DAML:  ProConcepts Framework · Esri/arcgis-pro-sdk Wiki (github.com) 

here is a video:

ArcGIS Pro SDK for .NET: Working With DAML - YouTube

Also this sample modifies an existing ArcGIS Pro tab:

arcgis-pro-sdk-community-samples/Framework/WorkingWithDAML at master · Esri/arcgis-pro-sdk-community...

Now you need to find the daml id for the version tab / group into which you need to add your button.

To find the daml id you can use the 'Show command IDs' option in ArcGIS Pro:

Wolf_0-1637365941363.png

 

Or use the DAML ID reference:

ArcGIS Pro DAML ID Reference · Esri/arcgis-pro-sdk Wiki (github.com)

 

View solution in original post

0 Kudos
3 Replies
Wolf
by Esri Regular Contributor
Esri Regular Contributor

You can create a module add-in project, then add an ArcGIS Pro button in that project.  By default the button will be on an add-in tab.   Now you have to modify the content of the config.daml to insert your button into another tab, group, etc.   This document gives an overview of DAML:  ProConcepts Framework · Esri/arcgis-pro-sdk Wiki (github.com) 

here is a video:

ArcGIS Pro SDK for .NET: Working With DAML - YouTube

Also this sample modifies an existing ArcGIS Pro tab:

arcgis-pro-sdk-community-samples/Framework/WorkingWithDAML at master · Esri/arcgis-pro-sdk-community...

Now you need to find the daml id for the version tab / group into which you need to add your button.

To find the daml id you can use the 'Show command IDs' option in ArcGIS Pro:

Wolf_0-1637365941363.png

 

Or use the DAML ID reference:

ArcGIS Pro DAML ID Reference · Esri/arcgis-pro-sdk Wiki (github.com)

 

0 Kudos
pspada_WT
New Contributor III

Hi thanks a lot for your help!!!

I've one last question. I've built a test with a button in the geoprocessing group in the analysis tab and it works.

pspada_WT_0-1637427966664.png

pspada_WT_1-1637428001369.png

But when i test with the Versioning group in the Versioning tab It don't.

I think the refID are right. What I'm doing wrong?

pspada_WT_2-1637428110006.png

 

0 Kudos
pspada_WT
New Contributor III

I've figure out. I have put a wrong module name. I've used "esri_mapping_module" but is "esri_mapping".