none
I have a Outlook AddIn which displays a yearly calendar how can i add to the ribbon RRS feed

  • Question

  • I have a Outlook AddIn which displays a yearly calendar how can i add to the ribbon.

    I use a german Office 2013 32 bit on a Windows 10 64 bit machine. I use Visual Studio 2015 Community and the actual version of vsto.

    The AddIn uses WPF and i added it to the start ribbon at the right in a new group in all calendar explorers.

    I would like to modify the existing Ribbon group and place it right beside the "monthly" button. If this is not possible, i like to put my group right beside the group containing the "montly" button.

    What i have:

    <?xml version="1.0" encoding="UTF-8"?>
    <customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="Ribbon_Load">
      <ribbon>
        <tabs>
          <tab idMso="TabCalendar">
            <group id="GroupCalendarArrange" >
              <button id="textButton" label="Insert Text"
                 screentip="Text"
                 supertip="Inserts text at the cursor location."
                      onAction="OnTextButtonClicked"
                      />
            </group>
          </tab>   
        </tabs>
      </ribbon>
    </customUI>

    -----------

    public string GetCustomUI(string ribbonID) {
                if (ribbonID == "Microsoft.Outlook.Explorer")
                    return GetResourceText("YCAddIn.RibbonXml1.xml");
                return null;
            }

    public void OnTextButtonClicked(Office.IRibbonControl control) {
                MessageBox.Show("You clicked " + control.Id);
            }

    ------

    I have the Excel Sheets regarding "Office 2010 Developer Resources" and played with things like AfterOfficeId="GroupCalendarArrange", without having success.

    Anyone a hint!?

    Best Regards

         Winfried Wille

    E-Mail: ww@w2ww.de

    Thursday, February 25, 2016 9:25 PM

Answers

  • Hi Winfried,

    We can’t add the additional control to the build-in group. We could insert a group after/before build-in group.

    Please add this attribute in your group:

    insertAfterMso="GroupCalendarArrange" 

    Regards

    Starain


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, February 26, 2016 8:58 AM
    Moderator

All replies

  • Hi Winfried,

    We can’t add the additional control to the build-in group. We could insert a group after/before build-in group.

    Please add this attribute in your group:

    insertAfterMso="GroupCalendarArrange" 

    Regards

    Starain


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, February 26, 2016 8:58 AM
    Moderator
  • Hello Starain,

    it works. My group is now beside the"GroupCalendarArrange" group.

    Many Thanks.

    I read in other places too, that the build-in groups can't be modified.

    Regards

       Winfried Wille

    Tuesday, March 1, 2016 7:45 PM