Xml 当我通过清单在outlook中获取外接程序时,如何创建新组?
我在理解创建外接程序时如何在outlook中创建新组方面遇到一些困难。(需要按代码生成,因为在添加外接程序后,我会加载一些信息并根据这些信息配置组) 我和导师一起工作 这里我在列表菜单中添加外接程序,但是如何更改清单以创建/添加新组 我可以创建这个变体 我只是在VisualStudio代码中使用清单,尝试更改清单并查看更改Xml 当我通过清单在outlook中获取外接程序时,如何创建新组?,xml,outlook,outlook-addin,outlook-web-addins,Xml,Outlook,Outlook Addin,Outlook Web Addins,我在理解创建外接程序时如何在outlook中创建新组方面遇到一些困难。(需要按代码生成,因为在添加外接程序后,我会加载一些信息并根据这些信息配置组) 我和导师一起工作 这里我在列表菜单中添加外接程序,但是如何更改清单以创建/添加新组 我可以创建这个变体 我只是在VisualStudio代码中使用清单,尝试更改清单并查看更改 <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
<Requirements>
<bt:Sets DefaultMinVersion="1.3">
<bt:Set Name="Mailbox"/>
</bt:Sets>
</Requirements>
<Hosts>
<Host xsi:type="MailHost"> <!--https://docs.microsoft.com/en-us/office/dev/add-ins/reference/manifest/host-->
<DesktopFormFactor>
<FunctionFile resid="Commands.Url"/>
<!-- Message Compose -->
<ExtensionPoint xsi:type="MessageComposeCommandSurface"> <!--https://docs.microsoft.com/en-us/office/dev/add-ins/reference/manifest/extensionpoint-->
<OfficeTab id="TabDefault"> <!--https://docs.microsoft.com/en-us/office/dev/add-ins/reference/manifest/desktopformfactor-->
<Group id="msgComposeCmdGroup">
<Label resid="GroupLabel"/>
<Control xsi:type="Button" id="msgComposeInsertGist">
<Label resid="TaskpaneButton.Label"/>
<Supertip>
<Title resid="TaskpaneButton.Title"/>
<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">
<SourceLocation resid="Taskpane.Url"/>
</Action>
</Control>
<Control xsi:type="Button" id="msgComposeInsertDefaultGist">
<Label resid="FunctionButton.Label"/>
<Supertip>
<Title resid="FunctionButton.Title"/>
<Description resid="FunctionButton.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>insertDefaultGist</FunctionName>
</Action>
</Control>
</Group>
</OfficeTab>
</ExtensionPoint>
</DesktopFormFactor>
</Host>
</Hosts>
<Resources> <!--https://docs.microsoft.com/en-us/office/dev/add-ins/reference/manifest/resources-->
<bt:Images>
<bt:Image id="Icon.16x16" DefaultValue="https://localhost:3000/assets/icon-16.png"/>
<bt:Image id="Icon.32x32" DefaultValue="https://localhost:3000/assets/icon-32.png"/>
<bt:Image id="Icon.80x80" DefaultValue="https://localhost:3000/assets/icon-80.png"/>
</bt:Images>
<bt:Urls>
<bt:Url id="Commands.Url" DefaultValue="https://localhost:3000/commands.html"/>
<bt:Url id="Taskpane.Url" DefaultValue="https://localhost:3000/taskpane.html"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="GroupLabel" DefaultValue="Git the gist"/>
<bt:String id="TaskpaneButton.Label" DefaultValue="Insert gist"/>
<bt:String id="TaskpaneButton.Title" DefaultValue="Insert gist"/>
<bt:String id="FunctionButton.Label" DefaultValue="Insert default gist"/>
<bt:String id="FunctionButton.Title" DefaultValue="Insert default gist"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="TaskpaneButton.Tooltip" DefaultValue="Displays a list of your gists and allows you to insert their contents into the current message."/>
<bt:String id="FunctionButton.Tooltip" DefaultValue="Inserts the content of the gist you mark as default into the current message."/>
</bt:LongStrings>
</Resources>
插入默认值
我试图将扩展点xsi:type=“MessageComposeCommandSurface”
字段更改为许多变体,但我采用了无效的模式或相同的结果。(MessageComposeCommandSurface
,任命导师组织命令surface
,任命与会者命令surface
和其他..)
也许我做错了什么,或者不知道如何正确地更改清单以获得正确的结果 在中,您共享了。
“组”部分用于,此界面不支持加载项。谢谢您的回答。我猜到了,但想确定。