Add-in appears in 'add-in' sub menu in backstage view

Add-in Express™ Support Service
That's what is more important than anything else

Add-in appears in 'add-in' sub menu in backstage view
 
Joost van der Sluis




Posts: 1
Joined: 2011-09-23
I created an add-in for Office, which runs fine in all versions. I add several options to the File menu in Office 2007 and these should appear in the File menu (Backstage view) in Office 2010 as well.

However, in Office 2010 my menu appears in a sub-menu 'Add ins'. How can I prevent this so that my menu is in the 'root' of the Backstage menu?

Current situation:

File
  Save
  Save as
  Open
  Close
  Info
  Recent
  Print
  Share
  Help
  Add-ins
    MyAddIn
      MyOption1
      MyOption2
      MyOption3
  Options
  Exit


Desired situation:

File
  Save
  Save as
  Open
  Close
  MyAddIn
    MyOption1
    MyOption2
    MyOption3
  Info
  Recent
  Print
  Share
  Help
  Options
  Exit


Is this possible?
Posted 08 May, 2012 06:33:00 Top
Eugene Astafiev


Guest


Hi Joost,

Yes, it is. It looks like you need to set the InsertBeforeIdMso property of the ADXBackstageTab control to the TabInfo value (use the ADXBackstageView component). For example, I have the following code in the InitializeComponent sub:

// 
// adxBackstageTab1
// 
this.adxBackstageTab1.Caption = "adxBackstageTab1";
this.adxBackstageTab1.FirstColumn.Add(this.adxBackstageTaskFormGroup1);
this.adxBackstageTab1.Id = "adxBackstageTab_3f011355e27a4b23a8623834a041cdbb";
this.adxBackstageTab1.InsertBeforeIdMso = "TabInfo";
this.adxBackstageTab1.Ribbons = AddinExpress.MSO.ADXRibbons.msrExcelWorkbook;
Posted 08 May, 2012 06:59:58 Top