我可以为文档库中的文档创建一个自定义文档工作区吗?

发布于 2024-08-06 17:31:22 字数 149 浏览 1 评论 0原文

是否可以为在特定文档库中创建的文档提供自定义文档工作区?我不需要每个文档库都有这个自定义工作区,只需一个文档库即可。

例如,假设有一个“电影”文档库。我希望为“电影”文档库中创建的任何文档创建一个自定义文档工作区。

这可能吗?如果是的话,努力程度如何?

Is it possible to have a custom document workspace for documents created in a specific document library? I don't need every document library to have this custom workspace, just a single document library.

For example, assume there is a "Movies" document library. I'd like to have a customized document workspace for any documents created in the "Movies" document library.

Is this possible? If so, what is the level of effort?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

戏剧牡丹亭 2024-08-13 17:31:22

最简单的答案是创建一个事件接收器并将其附加到库或内容类型(如果您使用这些内容)。

我在 http://furuknap 编写了事件接收器入门指南.blogspot.com/2008/08/automating-business-processes-in_18.html 可能会帮助您入门。由此,只需在 ItemAdded 方法中创建一个新的文档工作区站点即可。

如果您需要我进一步详细说明,请告诉我,但整个练习不会花费您超过一个小时。

.b

The simplest answer would be to create an event receiver and attach that to either the library or to the content types if you use those.

I've written an event receiver primer at http://furuknap.blogspot.com/2008/08/automating-business-processes-in_18.html that might get you started. From that, simply create a new Document Workspace site in the ItemAdded method.

Let me know if you need me to detail further, but this entire exercise shouldn't take you more than an hour.

.b

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文