In several places (e.g. Making separator and button menu in customized Toolbar using ArcObjects?) I have seen it mentioned that the way to add a separator for add-in menus and toolbars is adding the attribute separator="true" to the button in the config.xml file like: <Button refID="test105_addin.button_1" separator="true"/>.

However, I can only get it to work with ArcGIS 10.3 and not with 10.1/10.2.2.

Does anybody know how a separator is added using ArcGIS 10.1 (or 10.2.2)?

enter image description here

closed as off-topic by PolyGeo Sep 12 '16 at 0:50

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This problem cannot or can no longer be reproduced. Changes to the system or to the asker's circumstances may have rendered the question obsolete, or the question does not include a procedure to enable potential answerers to reproduce the same symptoms. Such questions are off-topic as they are unlikely to help future readers, but editing them to include more details can lead to re-opening." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

  • For Python AddIns I am currently doing it like that for 10.3.1 for separating buttons on a toolbar, and I am pretty sure that I did it the same way at 10.2.2. However, I have not tried separating items on a Python AddIn menu. What happens when you try to do it at 10.2.2 or 10.1 for buttons on a toolbar? – PolyGeo Sep 13 '15 at 8:46
  • The same thing with separators on a toolbar, separators only shows up in 10.3. Maybe it has something to do with the add-in wizard. At one point I remember there came a new version of the add-in wizard I upgraded to. – Mathiaskopo Sep 13 '15 at 9:33
  • Can you compare working config.xml from 10.3 with non-working config.xml from 10.2/10.1? As far as I know the appearance of buttons, tools and menus is all defined there. – PolyGeo Sep 13 '15 at 11:30
  • That sounds right. I see if I can find any differences – Mathiaskopo Sep 13 '15 at 13:00

It seems like you have identified a bug that must have been fixed for ArcGIS 10.3.

If that is correct, and if it is critical for you to have this fixed for an earlier version, then I think your only option will be to leverage a Maintenance contract with Esri via their technical support to ask for that fix to be back ported, if that is possible.

  • Thanks for the answer. We just recently upgraded to 10.4.1 so it is not really relevant anymore - but maybe someone else will benefit from your answer. – Mathiaskopo Sep 11 '16 at 18:37

Not the answer you're looking for? Browse other questions tagged or ask your own question.