Solved

SharePoint document management

Posted on 2013-06-09
2
305 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
Sharepoint 2010 Auditing 4 41
Forcing check-in on SharePoint 2010 4 36
SharePoint 2013 List Content Type 3 31
Sharepoint 2016 LDAP connection 22 27
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…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

749 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