0

could anyone advise me if it is possible to change the default storage location of a list item attachment to a document library which is located in the same site? The idea is that information which is attached to a list item will be stored in a document library and that the meta-data of the attachments is automatically assigned based on the meta-data of the line item in the SharePoint list to which the document(s) is/are attached.

Thanks in advance for your support.

2

List item attachments are not stored in Document Library. It is a part of the list item which is located with a correlation to the item in a Content DB. Document library is a separate independent entity.

You can add a lookup to the document library and define the list item id or title in the document library. Also when you add a lookup, you can include additional fields too. Which will give the functionality you expect here. Also it has many advantages such as versioning when compared with the list item attachments.

But if you have the documents attached, it saves the queries when you are using the object models.

I have used both and I prefer the document library rather attachment for most cases. Attachments also used for simple operations.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.