With BaseExtensions we are able to choose a tab in the ribbon and bring selection to this. Typically, this means bringing the client's custom ribbon tab into selection whenever their templates are opened. Default for MS Office is opening with the Home tab selected.
Module
<Cmd case="BaseExtensions:activate-tabq" id="CommonTabID" ns="CommonNameSpace"/>
Parameters
id
and ns
Refers to the TabID
and NameSpace
values as found in the RibbonConfig.xml
-file of the Alloy configuration folder, typically located here:
\ProgramData\OfficeExtensions\Common\Configuration
Example
If Client has Templafy, RibbonConfig.xml will look like this:
<Replaces>
<PowerPoint>
<NameSpace>http://schemas.templafy.com/2017/7/addins</NameSpace>
<TabID>TabTemplafy</TabID>
<ContextTabID>contextTabID</ContextTabID>
<ContextGroupID>ContextGroupID</ContextGroupID>
<ChartLabel>CorporateCharts</ChartLabel>
<ShowContextChart>false</ShowContextChart>
<TableLabel>CorporateTables</TableLabel>
<ShowContextTable>false</ShowContextTable>
</PowerPoint>
</Replaces>
And module should look like this:
<Cmd case="BaseExtensions:activate-tabq" id="TabTemplafy" ns="http://schemas.templafy.com/2017/7/addins"/>
Comments
0 comments
Article is closed for comments.