使用附件列添加附件的日期 [英] Adding a date of attachment with attachment column

查看:129
本文介绍了使用附件列添加附件的日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您知道附件列在sharepoint的所有列表中均可用.我想添加每个添加的附件的日期.例如,在每个项目中我们可以添加多个附件,我希望每个附件的日期在每个附件下可见.

As you know that attachment column is available in all lists in sharepoint. I want to add the date of each added attachment. For example in each item we can add more than one attachment, I want the date of each attachment visible under each attachment.How can I do this?

推荐答案

嗨Zahra1234.

Hi Zahra1234.

将一个或多个附件添加到列表项是一项捆绑操作,需要添加/编辑项目,并且没有现成的方式来显示将附件添加到SharePoint列表项的日期.
您可以在 SPItemEventReceiver.ItemAttachmentAdded 方法可将其他信息(例如,附件信息列表)保存到添加到列表中的每个附件相关的其他信息.

Adding one or more attachments to a list item is a bundled operation with item adding/editing and there is no out of the box way to display the date when an attachment was added to a SharePoint list's item.
You could write custom code in the SPItemEventReceiver.ItemAttachmentAdded method to save somewhere else (e.g.: a list of attachments' information) additional information related to each attachment added to the list.

再见.


这篇关于使用附件列添加附件的日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆