none
backstage view and XML ribbon in the same add-in RRS feed

  • Question

  • can an excel add-in have both backstage view XML and ribbon XML ?

    When I add the <backstage> node to the <customUI> XML  document visual studio complains that the <ribbon> node that follows is not allowed.

    <?xml version="1.0" encoding="UTF-8"?>
    <customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="Ribbon_Load">
    
      <backstage>
        <button id="customButton" label="backstage button"  imageMso="HappyFace" />
      </backstage>
    
      <ribbon>
        <tabs>
          <tab idMso="TabAddIns">
            <group id="group1" label="group1">
              <button id="butRun" onAction="butRun_Click" label="Run Report"
                      size="large" />
            </group>
          </tab>
        </tabs>
      </ribbon>
    
    </customUI>
    
    

    Monday, May 4, 2015 7:35 PM

Answers

All replies