How to copy attachments from a library to a list with addAttachment method

  • 22 August 2019
  • 1 reply
  • 7 views

Badge

I have seen many posts that talk about using the AddAttachment method to take attachments from a library and put them into the list through the Call Web Service. However, AddAttachments does not appear in the possible Web Methods. I'm sure that I am missing something important, but I can't figure out what it is.

How do I access the AddAttachments method?


1 reply

Userlevel 6
Badge +22
Hi,
The AddAttachment method is part of the Lists.asmx web service by default. There is no need to add it.

If you put the following into your web browser it will display the methods available for the web service.
http://Site/_vti_bin/Lists.asmx
Replace Site with your site URL.

Reply