Tag Info

New answers tagged


You can find answer from here: how to create a list item with attachment using Javascript object model


What you need to do is to specify type: "DELETE" in your ajax call and also specify the matching of etag (known as entity tag). This code demonstrates that- function deleteItem (item) { $.ajax({ url: item.__metadata.uri, type: "DELETE", contentType: "application/json;odata=verbose", headers: { "Accept": ...


You are getting this error since attachments are not included via query (view fields). Attachments column is not the same as AttachmentFiles property, first one only returns status whether attachments are included or not, while the second returns attachments info. Since your goal is to retrieve a specific set of fields plus attachments included, you could ...

Top 50 recent answers are included