ms-wopi

Proof key validation always fails

混江龙づ霸主 提交于 2021-02-08 08:15:16
问题 Proof key validator always returns invalid proof key. I am referring to https://github.com/Microsoft/Office-Online-Test-Tools-and-Documentation/blob/master/samples/java/ProofKeyTester.java @GET @Path("/{file_id}") @Produces(APPLICATION_JSON) public Response checkFileInfo(@PathParam("file_id") String fileId, @QueryParam("access_token") String accessToken, @Context HttpHeaders httpHeaders, @Context HttpServletRequest request) { try { String proof = httpHeaders.getRequestHeader("X-WOPI-Proof") !

How to let office online own the style of view mode?

|▌冷眼眸甩不掉的悲伤 提交于 2020-04-18 06:54:25
问题 Recently, I would like to use the “edit mode” of Office Online Server to open the Microsoft Word file as follows: http://office-online/we/wordeditorframe.aspx?WOPISrc=...&access_token=... However, I notice that there is no gap between two consecutive pages, please see the following screenshot. In addition, when I use the “view mode” to view a word document with wordviewframe.aspx , the presentation of page is normal. http://officeonline/wv/wordviewerframe.aspx?WOPISrc=...&access_token=... But

WOPI Host implementation, trying to render doc in iframe asp.net mvc

梦想的初衷 提交于 2019-12-24 01:44:45
问题 I'm trying to get Wopi host implementation in Asp.net MVC application. Using this project https://code.msdn.microsoft.com/office/Building-an-Office-Web-f98650d6 I don't get any calls hitting my api Controler Discovery URL <action name="view" ext="docx" default="true" urlsrc="http://word-edit.officeapps.live.com/wv/wordviewerframe.aspx?<ui=UI_LLCC&><rs=DC_LLCC&><showpagestats=PERFSTATS&>" /> URL generated by my application http://word-edit.officeapps.live.com/we/wordeditorframe.aspx?WOPISrc

How to construct/get Office Web App URL for sharepoint documents

﹥>﹥吖頭↗ 提交于 2019-12-23 03:13:36
问题 I am trying to get the right redirection URL for my sharepoint documents which then I can use to open documents in WebView of iOS. Currently I am giving the absolute URL for the document where the doc is rendered inside WebView as PDF(Image/Readonly). Whereas I want to redirect to office webapp. Now my issue is I dont know if the URL for office web app is something which I can construct like appending /_layouts/15/WopiFrame.aspx?sourcedoc= or is the URL custom based on installations and we

Existing WOPI hosts?

依然范特西╮ 提交于 2019-12-20 05:45:15
问题 I'm about to implement my own WOPI host for viewing and editing Office documents on iOS and Android, but I was wondering if there are any existing solutions out there already? Can I use SharePoint or OneDrive documents for example? 回答1: Here's my little list of existing implementations: petrsvihlik/WopiHost OfficeDev/PnP-WOPI Microsoft/Office-Online-Test-Tools-and-Documentation apulliam/WOPIFramework Building an Office Web Apps (OWA) WOPI Host marx-yu/WopiHost thebitllc/WopiBasicEditor jacob

CobaltCore assembly

故事扮演 提交于 2019-12-13 16:52:23
问题 I try to implement a custom Wopi host in C# that can handle the Cobalt Protocol using the CobaltCore assembly. But I didn't found any documentation for CobaltCore.dll Object browser is a little helpful.. Please provide some details if someone had similar issue. How I should use Cobalt to decipher the messages? 回答1: For word editing implementation go here: Can I just use Office Web Apps Server // fsshttpb payload, basically decode from base64 encoded byte[] test1 = System.Convert

Is there any Office Web Apps Server Api available?

烂漫一生 提交于 2019-12-11 05:19:18
问题 I want to allow user to be able to edit office documents online within the web application. I have come to know that I can do it easily by installing Web App Server But it requires a separate isolated server for installing it. Or I need to install it on virtual machine. I was wondering if is there any api available (which already have Web App Server installed on it), which I can use directly with my web application to fulfill my requirement?. 回答1: The web-based Office document editing is

Is Dropbox a WOPI Host? Is the Dropbox integration also available with the desktop version of Microsoft Office applications?

徘徊边缘 提交于 2019-12-11 04:41:45
问题 I believe Office and Dropbox integration is only for Office Online and not for the desktop versions of Office. I looked up the File -> Open menu in the Winword.exe 2016 and didn't see a way to add any other place other than One Drive and Office 365 SharePoint. This leads me to believe that the One Drive and Sharepoint integration with the desktop versions are perhaps OAuth 2.0 implementations. And the Office Online and Dropbox integration is a WOPI one, Dropbox being the WOPI host? Could you

WOPI Client (office online) Lock request

空扰寡人 提交于 2019-12-11 04:17:21
问题 I have strange response from WOPI client (i.e. Office Online) while locking the document, It provides me multiple locks in terms of short json string and long json string. How could this be possible ? and even if it is, which one I should consider the valid and from whole json string, Which part of json string is actual lock ? Response contains json string as below: {"F":6,"E":1,"C":"DF1","M":"df-8f3a7ae03629","P":"59F8D569-8001-4CF1-A5A2-E89C24E18A7F","W":"df-d81ca88d14b7","B":"4B9BA727-DD57

WOPI Host not called

只谈情不闲聊 提交于 2019-12-10 10:17:01
问题 I would like to know why is my WOPI Host not being called. I launch my host through an HTML page similar to: https://github.com/Microsoft/Office-Online-Test-Tools-and-Documentation/blob/master/samples/SampleHostPage.html For the testing purposes I am handling just one file. The discovery file I am using: https://onenote.officeapps-df.live.com/hosting/discovery Link for viewing word file: <form id="office_form" name="office_form" target="office_frame" action="https://word-view.officeapps-df