David Potashinsky
Guest
|
HI,
We would like to add a button to the open and save tabs in Office?Â?Ð?és backstage view.
The purpose of this button will be to open our own view for opening and saving documents to our cloud.
We were able to accomplish this working with VSTO. The following XML:
<?xml version="1.0" encoding="UTF-8"?>
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="Ribbon_Load">
<backstage>
<tab idMso="TabRecent">
<firstColumn>
<taskFormGroup idMso="GroupOpenPlaces">
<category idMso="ButtonCategoryRecentDocuments">
<task id="myTaskFirst" insertAfterMso="ButtonTaskRecentDocuments" label="My Cloud" getImage="GetLogo">
<group id="myGroup" label="Custom functionality" helperText="This group contains custom functionality.">
<primaryItem>
<button id="myButton" label="Open files from My Cloud" onAction="CallMe"/>
</primaryItem>
</group>
</task>
</category>
</taskFormGroup>
</firstColumn>
</tab>
</backstage>
Produced this view
</customUI>[img]https://goo.gl/photos/NCUqKkVuet9hTc8B7[/img] |
|
Andrei Smolin
Add-in Express team
Posts: 18825
Joined: 2006-05-11
|
Hello David,
You can achieve the same populating ADXBackstageView with Add-in Express components. Actually, almost every XML tag above corresponds to a separate Add-in Express component:
<tab idMso="TabRecent"> - an ADXBackstageTab having IdMso set to "TabRecent",
<taskFormGroup idMso="GroupOpenPlaces"> - an ADXBackstageTaskFormGroup having IdMso set to "GroupOpenPlaces",
etc.
Andrei Smolin
Add-in Express Team Leader |
|