Outlook 如何使用appendOnSendAsync?
我正在尝试对Outlook Javascript API使用appendOnSendAsync API调用。这里是它的链接。我已经满足了使用此API所需的所有要求,例如处于预览状态和在清单中添加扩展权限节点。我正在OnSend事件上使用此API调用,并收到以下错误:“API调用缺少扩展权限” 这是我的清单文件:Outlook 如何使用appendOnSendAsync?,outlook,office-js,outlook-addin,outlook-web-addins,Outlook,Office Js,Outlook Addin,Outlook Web Addins,我正在尝试对Outlook Javascript API使用appendOnSendAsync API调用。这里是它的链接。我已经满足了使用此API所需的所有要求,例如处于预览状态和在清单中添加扩展权限节点。我正在OnSend事件上使用此API调用,并收到以下错误:“API调用缺少扩展权限” 这是我的清单文件: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <OfficeApp xmlns="http://sc
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0"
xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.1"
xsi:type="MailApp">
<Id>a5afbf03-dcfc-435c-8a7b-02f37f162796</Id>
<Version>1.0.0.0</Version>
<ProviderName>Contoso</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<DisplayName DefaultValue="No-Framework"/>
<Description DefaultValue="A template to get started."/>
<IconUrl DefaultValue="https://localhost:3000/assets/icon-32.png"/>
<HighResolutionIconUrl DefaultValue="https://localhost:3000/assets/icon-80.png"/>
<SupportUrl DefaultValue="https://www.contoso.com/help"/>
<AppDomains>
<AppDomain>contoso.com</AppDomain>
</AppDomains>
<Hosts>
<Host Name="Mailbox"/>
</Hosts>
<Requirements>
<Sets>
<Set Name="Mailbox" MinVersion="1.8"/>
</Sets>
</Requirements>
<FormSettings>
<Form xsi:type="ItemRead">
<DesktopSettings>
<SourceLocation DefaultValue="https://localhost:3000/commands.html"/>
<RequestedHeight>250</RequestedHeight>
</DesktopSettings>
</Form>
</FormSettings>
<Permissions>ReadWriteItem</Permissions>
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Read"/>
</Rule>
<DisableEntityHighlighting>true</DisableEntityHighlighting>
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides"
xsi:type="VersionOverridesV1_0">
<VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1"
xsi:type="VersionOverridesV1_1">
<Hosts>
<Host xsi:type="MailHost">
<DesktopFormFactor>
<SupportsSharedFolders>true</SupportsSharedFolders>
<FunctionFile resid="Commands.Url"/>
<ExtensionPoint xsi:type="Events">
<Event Type="ItemSend" FunctionExecution="synchronous" FunctionName="action" />
</ExtensionPoint>
</DesktopFormFactor>
</Host>
</Hosts>
<Resources>
<bt:Urls>
<bt:Url id="Commands.Url" DefaultValue="https://localhost:3000/commands.html"/>
</bt:Urls>
<bt:ShortStrings>
<bt:String id="GroupLabel" DefaultValue="Contoso Add-in"/>
<bt:String id="TaskpaneButton.Label" DefaultValue="Show Taskpane"/>
<bt:String id="ActionButton.Label" DefaultValue="Perform an action"/>
</bt:ShortStrings>
<bt:LongStrings>
<bt:String id="TaskpaneButton.Tooltip" DefaultValue="Opens a pane displaying all available properties."/>
<bt:String id="ActionButton.Tooltip" DefaultValue="Perform an action when clicked."/>
<bt:String id="AppendOnSend" DefaultValue="AppendOnSend"/>
</bt:LongStrings>
</Resources>
<ExtendedPermissions>
<ExtendedPermission>AppendOnSend</ExtendedPermission>
</ExtendedPermissions>
</VersionOverrides>
a5afbf03-dcfc-435c-8a7b-02f37f162796
1.0.0.0
康托索
恩美
新的名称
250
读写项目
真的
真的
附件
我的Outlook版本是:version 2006(Build 12914.20000)Office Insider您好,我们最近在这里发布了一个非常详细的指南,它应该适用于您的版本:顺便问一下,您还可以共享您正在连接的Exchange服务器吗?这是OnPrem 2130、2016、2019还是Exchange Online?我还注意到您并没有关闭?这是您清单的完整副本吗?@Juan Balmori,appendOnSendAsync支持什么版本的Prem上的Exchange?我们有365订阅,我们的Outlook客户端是365 Pro Plus版本。16.0.12527.21096 64位。我们在prem上的交易是2016 CU16(Build 1979.3)。我们再过一两年就不会在线交换了,希望这对我们有用。ThanksHello Harsh,我们最近在这里发布了一个非常详细的指南,它应该适用于您的构建:顺便问一下,您还可以共享您连接到的Exchange服务器吗?这是OnPrem 2130、2016、2019还是Exchange Online?我还注意到您并没有关闭?这是您清单的完整副本吗?@Juan Balmori,appendOnSendAsync支持什么版本的Prem上的Exchange?我们有365订阅,我们的Outlook客户端是365 Pro Plus版本。16.0.12527.21096 64位。我们在prem上的交易是2016 CU16(Build 1979.3)。我们再过一两年就不会在线交换了,希望这对我们有用。谢谢