File Attachment
-
Monday, April 11, 2011 9:57 AM
Hey All,
I want to modify a list form so that it could upload 6 files at a time in different columns of list.
That means we should have 6 "different" file attachment control.
I tried doing the same but I can get only one file attachment control.
Suggestions are welcome.
Thanks & Regards
Rajdeep Saxena
Answers
-
Monday, April 18, 2011 5:54 AMModerator
Hi,
Please ensure you’ve successfully deployed the solution and recycle the web application. I would suggest these two reference:
Custom Field Types Deployment
Walkthrough: Creating a Custom Field TypeThanks & Regards.
- Marked As Answer by Lily WuModerator Monday, April 25, 2011 1:56 AM
All Replies
-
Monday, April 11, 2011 7:40 PM
Each ListItem contains an Attachments collection, so all attachments will be added to to this single collection. You can add files to a ListItem by using item.Attachments.Add() method. To have files appear as seperate column will require you create a Custom Field Control, that will display to attachments collection as you wish.
Hope that helps.
-
Tuesday, April 12, 2011 8:13 AM
Hi Multisy,
Thanks for your suggestion, even I was thinking to do something like creating a custom control.
For the same purpose I went throught a link
http://www.chakkaradeep.com/post/SharePoint-Creating-a-custom-field.aspx
Here you'll see an option for "Custom Field". I can't get it in my SharePoint options.
The area of my confusion still lies around "How to Make it Work"...
How it will come into my List Form ??
Don't mind please, I am a beginner with SharePoint things and trying to learn them, so i need a guidance. Please, suggest me.
-
Monday, April 18, 2011 5:54 AMModerator
Hi,
Please ensure you’ve successfully deployed the solution and recycle the web application. I would suggest these two reference:
Custom Field Types Deployment
Walkthrough: Creating a Custom Field TypeThanks & Regards.
- Marked As Answer by Lily WuModerator Monday, April 25, 2011 1:56 AM

