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?
thanks to thebitllc for the correct approach to getting back the file.
Also implementing the Cobalt approach to edits and like Julia it stops at a "cant edit screen" even after lockingstore callbacks including co-author etc. What I have found however is the log system for OWA reveals quite considerable detail about what the OWA server is attempting to do. C:\ProgramData\Microsoft\OfficeWebApps\Data\Logs\ULS I can see from these logs it complains about a missing access token, by providing
to the end of the wopi url this error goes away.
I also tested many of the file info fields and was able to see how the OWA server caches information. If we keep changing the cfi.Version
we get a fresh cached item each time we change the files contents via normal word.
These also affect the View mode for Word and I suspect will lock us out of the word edit mode but since I don't have that working I cant tell yet.
This one locks out the word edit function and unless you update the version of the file it will stay locked even if you change it back to false.
Roger Hogg
For word editing implementation go here:
Can I just use Office Web Apps Server
edit:
Here is a sample implementation using CobaltCore. Pretty much a combination of my answers about WOPI/FSSHTTP on this website in one project.
https://github.com/thebitllc/WopiBasicEditor