How to clean up the Add-In ribbon area, i.e. empty groups, unneeded buttons... these were created from prior projects, or by adding new buttons in current project but then deleting them, but they do not go away on the ribbon bar.
Want to clean up the X'd controls/groups in the image.
Solved! Go to Solution.
After cleaning up your DAML to remove references to the unneeded buttons, you also need to update the build date for the Add-In. ArcGIS Pro will only reload an Add-In if the AddInfo <date> xml tag contains a date that is Newer than the version currently cached on the computer.
<AddInInfo id="{43ea84e4-7b44-4d76-80ba-44095ba768b4}" version="1.0" desktopVersion="3.0.0.34794">
<Name>ConfigWithMap</Name>
<Description>ConfigWithMap description</Description>
<Image>Images\AddinDesktop32.png</Image>
<Author>ArcGIS Pro SDK Team, arcgisprosdk@esri.com</Author>
<Company>My Companies Name Here</Company>
<Date>11/7/2016 10:32:40 AM, 2016</Date>
<Subject>Configuation</Subject>
</AddInInfo>
Hi,
If your tools from Add-in ribbon tab are from other projects, then you can remove them using that workflow:
1. Go to Add-in Manager (from Project menu).
2. Select project you want to clean up.
3. On right side you will see location in My documents folder.
4. Remove folder with UID of your project (not add-in file)
Make sure these elements are not in the DAML file. Can you share the DAML file?
After cleaning up your DAML to remove references to the unneeded buttons, you also need to update the build date for the Add-In. ArcGIS Pro will only reload an Add-In if the AddInfo <date> xml tag contains a date that is Newer than the version currently cached on the computer.
<AddInInfo id="{43ea84e4-7b44-4d76-80ba-44095ba768b4}" version="1.0" desktopVersion="3.0.0.34794">
<Name>ConfigWithMap</Name>
<Description>ConfigWithMap description</Description>
<Image>Images\AddinDesktop32.png</Image>
<Author>ArcGIS Pro SDK Team, arcgisprosdk@esri.com</Author>
<Company>My Companies Name Here</Company>
<Date>11/7/2016 10:32:40 AM, 2016</Date>
<Subject>Configuation</Subject>
</AddInInfo>
In Visual Studio, you may also need to run Rebuild instead of just Build. VS doesn't treat the .daml file as a code file, so it may not pick up that there are relevant changes with Build. The issue with that is that the post-build event that forces Pro to reload the add-in doesn't get fired, meaning the ribbon won't update.
Hi,
If your tools from Add-in ribbon tab are from other projects, then you can remove them using that workflow:
1. Go to Add-in Manager (from Project menu).
2. Select project you want to clean up.
3. On right side you will see location in My documents folder.
4. Remove folder with UID of your project (not add-in file)
Both the posts re: updating the build date for the Add-In, and using the Add-in Manager (from Project menu) worked. First in updating the daml file once it's edited to remove extra buttons, and the other in removing groups/buttons from other deleted projects. Thanks.