Select to view content in your preferred language

DAML shared tab across multiple addins

119
0
Wednesday
mwinslett
Emerging Contributor

Hello --

We are currently using the ArcGIS Pro SDK for Pro version 3.5, and had a question about creating a shared tab for use with multiple, independent addins.

By way of example, suppose I had two addins, called A and B.  They are both mutually exclusive and don't depend on each other.  Our end users may have both A and B installed, or they may have only A or only B, depending on their needs.  We would like to make it so that both A and B share the same tab in Pro's ribbon for easy access, but at the same time we would like to keep the two addins separated.

Currently, the only way that we know of to do this is to have a separate addin (let's call it Base) that defines a tab in its Config.daml file.  Both A and B then would list Base as a dependency in their own DAML files, with markup to insert each addin's buttons and tools onto that tab.

Is there a way to accomplish what I'm describing without having to have the separate Base addin?  Essentially, we'd like to do something similar to what CREATE TABLE IF NOT EXIST in SQL does:  create the table described or use it if it already exists.  If there's a option to do it programmatically as an alternative, that could work as well.

Thanks,

Matt Winslett

T-Kartor

0 Kudos
0 Replies