Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: AddAttachment Function of SPServices (List AddAttachment)

$
0
0
Hi,

I have developed a project on sharepoint where I have used a custom form to Add/Update a list using SPServices. Now as per some user requirement I need to provide the option to add an attachment to the list. Though while testing I am able to get the attachment name and also able to delete it, but I am not able to upload any attachment using operation: "AddAttachment" option. I am not able to find any documentation on the same too. Is there any way I can perform this action. User needs to browse a file from the system and attach it. I followed this by bjwildbore post but it needs a updated browser which my user may or may not have.

I am confused how to provide the fileName and attachment details. Can be the file name be "C:\Myfile.docx"? and what will be the attachment details? Please help.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>