【发布时间】:2013-01-18 06:20:53
【问题描述】:
我正在开发一个需求事件接收器,使用第三方 DLL 将页面内容生成到 Microsoft Word 和 PDF 中。生成完成后,我需要将其上传到文档库。
这发生在ItemUpdated 上,当 doc 或 pdf 文件不在库中但创建它们并且我必须更新它们时,代码可以正常工作。
ex = {"The file \"http://www-mylab.com/en/home/Documents/James-bond_1033.pdf\" is not checked out. You must first check out this document before making changes."}
web.Files.Add(wordFileUrl, wordStream, true);
【问题讨论】:
标签: sharepoint document event-receiver