Skip to content

Instantly share code, notes, and snippets.

@premchandpl
Created November 21, 2014 02:18
Show Gist options
  • Select an option

  • Save premchandpl/814ddb1da58e22e49154 to your computer and use it in GitHub Desktop.

Select an option

Save premchandpl/814ddb1da58e22e49154 to your computer and use it in GitHub Desktop.
spPageContextInfo.webServerRelativeUrl + "/_api/web/lists/GetByTitle('" + listName + "')/items(" + id + ")/AttachmentFiles/add(FileName='" + file.name + "')",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment