Solved

SharePoint document management

Posted on 2013-06-09
2
296 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

There is one common problem that all we SharePoint developers share: custom solution deployment. This topic can't be covered fully in this short article, so all I want to do in this one is to review it from a development-to-operations perspectiv…
Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
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 …

777 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