1

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

1 Answer 1

1

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

3
  • 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
    Commented Apr 14, 2017 at 18:01
  • gist.github.com/rjsteinert/4074427
    – Mathew
    Commented Apr 14, 2017 at 18:06
  • sorry Mathew How to use that resource with sharepoint custom list
    – Kem Bardly
    Commented Apr 14, 2017 at 20:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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