附加项目时如何提供值 [英] how to provide values when an Item is being attached

查看:60
本文介绍了附加项目时如何提供值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个自定义列表和一个自定义文档库.我已经创建了一个Item Event Receiver,就像当我们附加一个文件并将其保存到该文档库时一样,

我想要的另一件事是,在附加文档时,应该有诸如dropdownlist之类的选项,并且值将保存在文档库的一列中.

就像附件1一样,我选择选项为type1,它应该保存文档并更新type列.

对于附件2,输入2

对于附件3,输入3

将附件和其他值保存在文档库中之后,我希望删除列表附件.

谢谢


sal

解决方案

开箱即用是不可能的,您将需要创建文档库的自定义形式.一个是upload.aspx,第二个是Allitems.aspx


hi,

I  have a custom list and a custom Document library. I have created one Item Event Receiver, it is like when we attached a file it will be saved to that document library, this is working fine.

The other thing I want is while attaching the document there should be options like dropdownlist and that values will be saved in document library in a column.

like for attachment 1 , I select the options as type1 and it should save the document and update the type column.

for attachment 2, type 2

for attachment 3, type 3

after saving the attachment with other values in document library, I want the list attachments to be deleted.

Thanks


sal

解决方案

Hi,

Out of the box it is  not possible you will need to create customize form of your document library . One is upload.aspx and second is Allitems.aspx


这篇关于附加项目时如何提供值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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