Solved

SharePoint document management

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

747 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now