问题描述
因此,我试图为添加项创建一些快捷方式,这些快捷方式可通过功能区上的添加命令按钮进行访问。这些按钮显示在桌面excel上,而不显示在Web上的excel中。这对我来说是个问题,因为似乎唯一可靠的调试加载项的方法是通过Web上的Office和浏览器调试器。
我的清单通过了验证,并且在浏览器控制台中没有得到任何反馈,因此我不知道问题出在哪里。我清单的相关部分在这里:
<DesktopFormFactor>
<GetStarted>
<Title resid="GetStarted.Title"/>
<Description resid="GetStarted.Description"/>
<LearnMoreUrl resid="GetStarted.LearnMoreUrl"/>
</GetStarted>
<FunctionFile resid="PlaidCloudAddin.Url"/>
<ExtensionPoint xsi:type="PrimaryCommandSurface">
<OfficeTab id="TabHome">
<Group id="CommandsGroup">
<Label resid="CommandsGroup.Label"/>
<Icon>
<bt:Image size="16" resid="Icon.16x16"/>
<bt:Image size="32" resid="Icon.32x32"/>
<bt:Image size="80" resid="Icon.80x80"/>
</Icon>
<Control xsi:type="Button" id="TaskpaneButton">
<Label resid="TaskpaneButton.Label"/>
<Supertip>
<Title resid="TaskpaneButton.Label"/>
<Description resid="TaskpaneButton.Tooltip"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon.16x16"/>
<bt:Image size="32" resid="Icon.32x32"/>
<bt:Image size="80" resid="Icon.80x80"/>
</Icon>
<Action xsi:type="ShowTaskpane">
<TaskpaneId>ButtonId1</TaskpaneId>
<SourceLocation resid="PlaidCloudAddin.Url"/>
</Action>
</Control>
</Group>
</OfficeTab>
<OfficeTab id="TabData">
<Group id="PlaidCommandsGroup">
<Label resid="PlaidButtons.Label"/>
<Icon>
<bt:Image size="16" resid="Icon.16x16"/>
<bt:Image size="32" resid="Icon.32x32"/>
<bt:Image size="80" resid="Icon.80x80"/>
</Icon>
<Control xsi:type="Button" id="PullAllButton">
<Label resid="PullAllButton.Label"/>
<Supertip>
<Title resid="PullAllButton.Label"/>
<Description resid="PullAllButton.Tooltip"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon.16x16"/>
<bt:Image size="32" resid="Icon.32x32"/>
<bt:Image size="80" resid="Icon.80x80"/>
</Icon>
<Action xsi:type="ExecuteFunction">
<FunctionName>syncAll</FunctionName>
</Action>
</Control>
<Control xsi:type="Button" id="PullOneButton">
<Label resid="PullOneButton.Label"/>
<Supertip>
<Title resid="PullOneButton.Label"/>
<Description resid="PullOneButton.Tooltip"/>
</Supertip>
<Icon>
<bt:Image size="16" resid="Icon.16x16"/>
<bt:Image size="32" resid="Icon.32x32"/>
<bt:Image size="80" resid="Icon.80x80"/>
</Icon>
<Action xsi:type="ExecuteFunction">
<FunctionName>syncOne</FunctionName>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
</DesktopFormFactor>
请注意,作为模板的一部分创建的默认“显示任务窗格”按钮会显示并起作用,而不是我添加的两个按钮。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)