Reactjs 是否有任何方法可以将react web应用程序作为外接程序嵌入Outlook,而不使用Yeoman生成器
我正在尝试将web react应用程序作为任务窗格加载项嵌入到office 365 Outlook中,而不使用Yeoman生成器 我构建了一个空的React应用程序(),并从officejs站点下载了一个默认的邮件清单文件(.xml)(见下文)。我可以成功地将其作为自定义加载项侧向加载,并成功地将其显示在功能区上,但当我尝试将其显示为任务窗格时。它抛出了以下错误: 加载项错误:无法从localhost打开此加载项 我在这里尝试了解决方案: 添加本地环回豁免,但仍然不起作用 我不确定到底是什么问题。我尝试了许多不同的清单文件,以下是其中之一: Office JS站点中的默认邮件清单文件(.xml):Reactjs 是否有任何方法可以将react web应用程序作为外接程序嵌入Outlook,而不使用Yeoman生成器,reactjs,outlook,manifest,add-in,Reactjs,Outlook,Manifest,Add In,我正在尝试将web react应用程序作为任务窗格加载项嵌入到office 365 Outlook中,而不使用Yeoman生成器 我构建了一个空的React应用程序(),并从officejs站点下载了一个默认的邮件清单文件(.xml)(见下文)。我可以成功地将其作为自定义加载项侧向加载,并成功地将其显示在功能区上,但当我尝试将其显示为任务窗格时。它抛出了以下错误: 加载项错误:无法从localhost打开此加载项 我在这里尝试了解决方案: 添加本地环回豁免,但仍然不起作用 我不确定到底是什么问题
<?xml version="1.0" encoding="utf-8"?>
<OfficeApp xmlns=
"http://schemas.microsoft.com/office/appforoffice/1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="MailApp">
<!--IMPORTANT! Id must be unique for each add-in. If you copy this manifest ensure that you change this id to your own GUID. -->
<Id>971E76EF-D73E-567F-ADAE-5A76B39052CF</Id>
<Version>1.0</Version>
<ProviderName>Microsoft</ProviderName>
<DefaultLocale>en-us</DefaultLocale>
<DisplayName DefaultValue="YouTube"/>
<Description DefaultValue=
"Watch YouTube videos referenced in the e-mails you
receive without leaving your email client.">
<Override Locale="fr-fr" Value="Visualisez les vidéos
YouTube références dans vos courriers électronique
directement depuis Outlook."/>
</Description>
<!-- Change the following lines to specify -->
<!-- the web server that hosts the icon files. -->
<IconUrl DefaultValue="https://contoso.com/assets/icon-64.png" />
<HighResolutionIconUrl DefaultValue="https://contoso.com/assets/hi-res-icon.png" />
<SupportUrl DefaultValue="[Insert the URL of a page that provides support information for the app]" />
<Hosts>
<Host Name="Mailbox" />
</Hosts>
<Requirements>
<Sets DefaultMinVersion="1.1">
<Set Name="Mailbox" />
</Sets>
</Requirements>
<FormSettings>
<Form xsi:type="ItemRead">
<DesktopSettings>
<!-- Change the following line to specify -->
<!-- the web server that hosts the HTML file. -->
<SourceLocation DefaultValue=
"https://webserver/YouTube/YouTube_read_desktop.htm" />
<RequestedHeight>216</RequestedHeight>
</DesktopSettings>
<TabletSettings>
<!-- Change the following line to specify -->
<!-- the web server that hosts the HTML file. -->
<SourceLocation DefaultValue=
"https://webserver/YouTube/YouTube_read_tablet.htm" />
<RequestedHeight>216</RequestedHeight>
</TabletSettings>
</Form>
<Form xsi:type="ItemEdit">
<DesktopSettings>
<!-- Change the following line to specify -->
<!-- the web server that hosts the HTML file. -->
<SourceLocation DefaultValue=
"https://webserver/YouTube/YouTube_compose_desktop.htm" />
</DesktopSettings>
<TabletSettings>
<!-- Change the following line to specify -->
<!-- the web server that hosts the HTML file. -->
<SourceLocation DefaultValue=
"https://webserver/YouTube/YouTube_compose_tablet.htm" />
</TabletSettings>
</Form>
</FormSettings>
<Permissions>ReadWriteItem</Permissions>
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="RuleCollection" Mode="And">
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Read" />
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Read" />
</Rule>
<Rule xsi:type="ItemHasRegularExpressionMatch"
PropertyName="BodyAsPlaintext" RegExName="VideoURL"
RegExValue=
"http://(((www\.)?youtube\.com/watch\?v=)|
(youtu\.be/))[a-zA-Z0-9_-]{11}" />
</Rule>
<Rule xsi:type="RuleCollection" Mode="Or">
<Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Edit" />
<Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit" />
</Rule>
</Rule>
</OfficeApp>
971E76EF-D73E-567F-ADAE-5A76B39052CF
1
微软
美国英语
216
216
读写项目