Solved

SharePoint document management

Posted on 2013-06-09
2
303 Views
Last Modified: 2013-06-21
How the documents attached in the lists are managed?Is there any way to store all the files attached in the lists to a document library?
0
Comment
Question by:vijaya_subullc
2 Comments
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 500 total points
ID: 39232967
Hi,
list attachments are not handled like items in a document library, therefore they do not contain meta data / columns (they are column content like any other field in a list).
For this you would need to use an Event Receiver on the list.
http://mstechsharing.blogspot.de/2012/03/how-to-copy-file-attachment-from-custom.html

For doing a one time copy the best option would be to run a Powershell script:
http://bobeldredge.wordpress.com/2013/02/12/sharepoint-2010-powershell-copy-list-item-attachments-into-document-library-folders/

[assuming you are on SharePoint 2010 but should work pretty the same for 2007 and 2013]

HTH
Rainer
0
 

Author Closing Comment

by:vijaya_subullc
ID: 39238487
Thanks for the answer.

How to set filename in the document library with few more attributes?
For example from the list item attachment the file name is Doc1.docx (while copying list item attachments from list to document library), and in the document library if we want to store that file as filename=filename+UserName+Timestamp so the Doc1.docx should be like Doc1User1Jan320100001.docx.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question