Save and Open Remote Documents

a 夏天 提交于 2019-12-04 19:17:11
JasonPlutext

Look at using WebDAV to open/save the documents; Office has support for that, though ymmv. If you can't use the built-in Office support, use WebDrive, NetDrive etc, or build your own.

Another alternative is SharePoint protocol, if your repository supports it. Alfresco for example, has cloned parts of this. This also has the advantage of a built-in client in Word.

CMIS is more modern than WebDAV, you'd have to build your own client though (look at Apache Chemistry). Still, this might be the go if your repository supports it;

You could also use SOAP or REST, as you mention, via VSTO, but these also fall into the build your own client category.

Regarding the tags: you could pass these as WebDAV properties. It may also be worth putting them inside the docx as a CustomXML part (or just document properties - which has the advantage that they're visible in the Word UI), so the document has them even if moved or whatever.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!