微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

通过 WOPI 集成在 Word Online 中禁用/不显示加载项

如何解决通过 WOPI 集成在 Word Online 中禁用/不显示加载项

如果有人能帮助我解决我的问题,那就太好了:

我正在实施 WOPI 集成以在 Word Online (Office 365) 中编辑 Word 文档。 集成工作得非常好。 WOPI 验证器测试没有错误

什么不起作用:Word Online Insert 工具栏上的加载项按钮不可见。用户无法激活任何加载项。

Insert toolbar in Word Online with missing Add-Ins button

以下是有关我的集成的一些关键数据:


    {
      "BaseFileName": "Test.docx","OwnerId": "46659068-53d1-4d97-b1a4-6c0dc1336cff","Size": 12345,"UserId": "ac3aa4ef-836d-4a42-ae3d-307f4b0e2cde","Version": "202107211419360059","LastModifiedTime": "2021-07-08T14:19:36.0757847Z","FileExtension": ".docx","FileNameMaxLength": 0,"AllowAdditionalMicrosoftServices": true,"AllowExternalMarketplace": true,"disablePrint": false,"disableTranslation": false,"HostEditUrl": "https://someUrl","ReadOnly": false,"RestrictedWebViewOnly": false,"SupportsCobalt": false,"SupportsFolders": false,"SupportsContainers": false,"SupportsLocks": true,"SupportsGetLock": true,"SupportsExtendedLockLength": true,"SupportsEcosystem": false,"SupportedShareUrlTypes": [],"SupportsUpdate": true,"SupportsRename": false,"SupportsDeleteFile": false,"SupportsUserInfo": false,"IsAnonymousUser": false,"IsEduUser": false,"LicenseCheckForEditIsEnabled": true,"UserCanAttend": false,"UserCanNotWriteRelative": true,"UserCanPresent": false,"UserCanWrite": true,"UserCanRename": false,"UserFriendlyName": "wopitest"
    }

我的问题:为什么“加载项”按钮不可见?我该如何更改?

感谢您的帮助!

解决方法

要启用加载项,请登录您的 OOS 并在 PowerShell 中运行以下命令

#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent): QMainWindow(parent),ui(new Ui::MainWindow) { ui->setupUi(this); } MainWindow::~MainWindow() { delete ui; } void MainWindow::on_pb_start_clicked() { pr = new QProcess(this); pr->start("vlc"); } void MainWindow::on_pb_kill_clicked() { pr->kill(); }

然后重新启动您的 WOPI 服务器并清除缓存并在浏览器中刷新。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。