Skip to content

Instantly share code, notes, and snippets.

@premchandpl
Created November 21, 2014 02:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save premchandpl/814ddb1da58e22e49154 to your computer and use it in GitHub Desktop.
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