I use Sharepoint 2010 and I create custom HTML form upload. I can some text to a normal field like Single Line of text but I do not know how to upload a file to list. I use rest API with javascript anyone knows some solution please help me. Thanks


Use SPD to open the list and go to your NewForm.aspx(or your default) and you can put your code below the "PlaceHolderAdditionalPageHead".

  • yeah I used but I need some javascript code about rest api upload attachment file. Now I can use rest to create text field but the attachment file is difference code – Kem Bardly Apr 14 '17 at 18:01
  • gist.github.com/rjsteinert/4074427 – Mathew Apr 14 '17 at 18:06
  • sorry Mathew How to use that resource with sharepoint custom list – Kem Bardly Apr 14 '17 at 20:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.