为Office 2019和365创建React外接程序

问题描述 投票:0回答:1

Hello社区我开始使用Office 365的React Ad-ins。但是我不知道如何为所有Word,Excel,PowerPoint和Outlook创建React加载项?

如果有人这样做,请帮忙。

谢谢和问候杜伊

office365 office-js office-addins
1个回答
1
投票

使用清单中的Hosts元素指定加载项将运行的Office应用程序。为每个Office应用程序放置一个单独的子Host元素并设置Name属性。对于Word <Host>,将Name设置为Document,将Excel设置为Workbook,将Outlook设置为Mailbox,将PowerPoint设置为Presentation。有关详细信息,请参阅ManifestSpecify Office hosts

© www.soinside.com 2019 - 2024. All rights reserved.