Let me say guys that I am not too experienced with VS2010 so any push in the right direction would be greatly appreciated
I am trying to customize the backstage for word 2010 with a com addin.
From different sample code and some patience I have managed to get as far as a new tab that has 1 button and 2 combo boxes in a single group and column. The combo boxes contain city names in the 1st and template type in the 2nd. What I need to accomplish is this :). Currently our workgroup templates are stored on a network share in this structure
City 1 Folder
Templates type 1 folder
Type1.dot
Template type 2 folder
type2.dot
City 2 Folder
Template Type 1 folder
type1.dot
I have 5 city types and 7 template types
When open templates is clicked, have the returned templates show in the 2nd group(available Templates) based upon cbo selections in the same manner the templates appear if you add a custom templates section as per(http://technet.microsoft.com/en-us/l.../cc178976.aspx ).
My XML so far
<?xml version="1.0" encoding="utf-8" ?>
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<backstage>
<tab id="customTab" label=" S + A Templates" insertAfterMso="TabInfo" visible="true" >
<firstColumn>
<group id="customGroup" label="S and A Location">
<primaryItem>
<button id="btnButton" label="Open Templates" imageMso="Folder" onAction="OnAction"/>
</primaryItem>
<topItems>
<layoutContainer id="layoutTwo" layoutChildren="horizontal">
<comboBox id="cboComboBox" label="Choose City" >
<item id="item1" label="Toronto"/>
<item id="item2" label="Ottawa"/>
<item id="item3" label="Edmonton"/>
<item id="item4" label="Burnaby"/>
<item id="item5" label="Kelowna"/>
<item id="item6" label="Victoria"/>
</comboBox>
<comboBox id="cboComboBox2" label="Choose Template Type" >
<item id="item7" label="Proposal"/>
<item id="item12" label="Project Admin"/>
<item id="item13" label="CheckLists"/>
<item id="item14" label="Permit Related"/>
<item id="item15" label="Engineering"/>
<item id="item16" label="HR"/>
</comboBox>
</layoutContainer>
</topItems>
</group>
<group id="grpTwo" label="Available Templates" visible="true" >
</group>
</firstColumn>
</tab>
</backstage>
</customUI>