如何在 SharePoint 2007 中强制添加列表附件
有人知道如何将附件强制添加到 SharePoint 自定义列表吗? 我们正在使用 SharePoint 2007。
Anyone knows how to make attachment compulsory to the SharePoint custom list?
We are using SharePoint 2007.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
据我所知,用户界面/管理中没有任何东西可以执行此操作。
这篇文章解释了如何使用 jQuery 链接< /a>
编辑以纠正我之前的答案,经过反思,该答案仅提供了部分答案。上面的链接是实现此目的的正确方法。它展示了在NewForm上查询附件详细信息的机制,即:在创建列表项之前,这是可以应用强制功能的点。
There's nothing in the UI / Admin to do this AFAIK.
This arcticle explains how to achieve it with jQuery Link
Edited to correct my previous answer, which on reflection only provided a part answer. The above link is the correct way to achieve this. It shows the mechanism to query the attachments details on the NewForm, ie: before the list item is created, which is the point at which the mandatory function can be applied.
将以下函数添加为“内容编辑器 Web 部件”中的脚本,或通过 SharePoint 设计器直接添加到表单中。显然,这也需要jQuery。
Add the below function as a script in a "Content Editor Web Part" or directly to the form via SharePoint designer. Obviously, this also requires jQuery.
更好地创建一个工作流程
,将邮件发送到最后修改者+抄送团队负责人
“如果当前项目有附件=否”发送邮件
Better Create a workflow
which will send a mail to last modified by + cc team lead
"if the current item has attachment = no" send mail