Reputation: 1
We integrated Office Online Server in our web application and in the WOPI web integration we are setting File URL properties such as FileUrl
. This URL points to /wopi/files/{file_id}/contents
link and internally, it will call the API once we start editing the document.
From this API, we are updating the file version but the issue is that after editing the WOPI document, the triggering of the API /wopi/files/{file_id}/contents
is taking a long time and we are unable to find how it is getting triggered? Is there a way we can trigger this method directly?
Upvotes: 0
Views: 1528
Reputation: 7696
So if I get it right it takes a long time BEFORE the /wopi/files/{file_id}/contents
endpoint is hit.
In such a case, I'd recommend four things:
CheckFileInfo
. If you set the WOPI Client's expectations incorrectly, it may take time for it to figure out what's going on and potentially fall back to a different method.Upvotes: 0