Backstage XML for PowerPoint 2013

I need to be able to insert some custom commands into the New tab of PowerPoint at the top somewhere as indicated in this screenshot:

PowerPoint 2013 Backstage view, New tab
Apart from the fact that this tab's idMso appeared to be [oddly] renamed from TabNew in 2010 to TabOfficeStart in 2013 to trip us developers up, I can't get it to work. The structure of the default new tab appears to be a single column containing a single group. According to Microsoft's idMso sheet for PowerPoint 2013, the group id is GroupOfficeStart as per this extract:

Control Name            Control Type            Tab Set                              Tab
GroupOfficeStart            group                  None (Backstage View)      TabOfficeStart

So, what I do is to disable the default New tab before recreating it. Here is the backstage XML:

<customUI onLoad="onLoad" xmlns="http://schemas.microsoft.com/office/2009/07/customui">
  	<backstage onHide="onHide" onShow="onShow">    
		<!-- Turn off built in "New" tab -->
		<!-- idMso="TabNew" for 2010! -->
		<tab idMso="TabOfficeStart" visible="false"/>

		<!-- Create new "New" tab -->
		<tab id="myNew" label="New" title="New">
			<firstColumn> <!-- no attribs -->
                		<group idMso="GroupOfficeStart">
                		</group>
			</firstColumn>
		</tab>
  	</backstage>
</customUI>

Open in new window


But when this is run in PowerPoint and the backstage comes into view, PowerPoint throws a control ID error:

Failed to find Office control by ID. GroupOfficeStart

Is it possible to insert custom controls into the New tab?
LVL 15
Jamie GarrochSenior Technical Consultant at BrightCarbonAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JSRWilsonCommented:
I think you can add custom controls but NOT MSFT built in ones (including Groups)

<backstage >


  <!--Remove standard NEW Tab-->
  <tab idMso="TabNew"
       visible="false" />
  <!--2010-->
  <tab idMso="TabOfficeStart"
       visible="false" />
  <!--2013-->
  <!--Create duplicate NOTE in 2013 this will not position correctly-->
    <tab id="CRV_BS_newTab"
         label="New"
         insertBeforeMso="TabPrint"
         title="Available Templates" keytip="N"   >

      <firstColumn >
        <group id="GroupOfficeStartnew" label="My New Group">
       
<topItems >
  <button id="aButt" label="my button" imageMso="HappyFace" onAction="whatever"/>
</topItems>

        </group>
      </firstColumn>
    </tab>
  </backstage>r

Open in new window

Jamie GarrochSenior Technical Consultant at BrightCarbonAuthor Commented:
Hmmm. If that's the case JSRWilson, is it possible to answer the original need by inserting something above the main backstage group in the idMso New tab? The use case is "the user clicks New from the ribbon or backstage and needs to see all 20+ corporate templates at the top of the New backstage tab without having to navigate to sub-levels and whilst maintaining the standard templates view". This Word example shows how to add custom controls within an existing MSO task group but I can't get it to work for the New tab in PowerPoint:

http://blogs.msdn.com/b/vsod/archive/2013/04/05/customizing-office-2013-backstage.aspx

It's almost as if that tab is read-only or is it because it's not a category/task type of tab that it can't be added to?
JSRWilsonCommented:
You cannot add to the New Tab you would have to hide it and create a copy as in the code I posted.  Coding here is not simple and probably beyond the scope of explaining fully here.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft PowerPoint

From novice to tech pro — start learning today.