WOPI discovery of onlyoffice supports embeddded param, but actually not works
Do you want to request a feature or report a bug?
bug
What is the current behavior?
The urlsrc in the wopi hosting/discovery xml gives <e=EMBEDDED&> query param, but it doesn't work. Returned preview page is still desktop type.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
- use urlsrc given in the wopi hosting/discovery xml to construct a url
- set
eparam in the url totrue - do POST request with url
- preview returned doc page
What is the expected behavior?
The doc page should be previewed as
embeddedmode instead ofdesktopmode.
The type property at root level of the config in the response HTML of POST request is desktop which should be embedded.
Did this work in previous versions of DocumentServer? no DocumentServer version: 7.0 Operating System: Linux Ubuntu Browser version: Google Chrome v100
Hello @zyf0330 We added embedded mode because our editors have it, but it's not fully implemented in wopi yet. We have issue 56772 in our private issue tracker.
It's fixed at: https://github.com/ONLYOFFICE/server/commit/6331a5b672d04d807a50020f0200b8fffd0b3c07 https://github.com/ONLYOFFICE/web-apps/commit/92bb952875aaee5057f8b0e73faa08e648e78344 And will be released in the next major release
DocumentServer v7.2 is released. This issue should be fixed
Feel free to comment or reopen it if you got further questions
Ok. May I know When the feature will be released?
On Thu, Apr 21, 2022, 20:37 Igor Demin @.***> wrote:
Hello @zyf0330 https://github.com/zyf0330 We added embedded mode because our editors have it, but it's not fully implemented in wopi yet. We have issue 56772 in our private issue tracker.
— Reply to this email directly, view it on GitHub https://github.com/ONLYOFFICE/DocumentServer/issues/1725#issuecomment-1105156773, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3HTAP7UPJOTMGWN6CHGZ3VGFDYLANCNFSM5TU5SVHQ . You are receiving this because you were mentioned.Message ID: @.***>
It is released in v7.2.0 several weeks ago