0
當我開始一個新的Excel web插件,默認情況下空白項目中有一個MyAppName.xml
文件聲明剪綵。 聲明設置自定義組和老家的Excel選項卡下的自定義控制。創建自定義選項卡
我要的是創造我的外接一個單獨的標籤。 在文件項目本身,還有這些代碼行:
<!-- Use OfficeTab to extend an existing Tab. Use CustomTab to create a new tab. -->
<OfficeTab id="TabHome">
因此,我改變OfficeTab
爲CustomTab
,但現在我得到的錯誤列表中的郵件:
The element 'CustomTab' in namespace 'http://schemas.microsoft.com/office/taskpaneappversionoverrides' has incomplete content. List of possible elements expected: 'Group, Label' in namespace 'http://schemas.microsoft.com/office/taskpaneappversionoverrides'.
你知道我是怎麼可以創建自定義選項卡?我究竟做錯了什麼?
我使用: 微軟的Visual Studio 2017年企業版本 15.2(26430.12)釋放 VisualStudio.15.Release/15.2.0 + 26430.12
感謝。
謝謝!我會研究它,然後我會給出反饋。 –
我通過鏈接中的示例瞭解了它,謝謝。 問題是,當您更改'CustomTab'的'OfficeTab'時,您還必須創建一個'<標籤resid =「Tab.Label」>元素。 –