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
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 codeKem Bardly– Kem Bardly2017-04-14 18:01:01 +00:00Commented Apr 14, 2017 at 18:01
-
gist.github.com/rjsteinert/4074427Mathew– Mathew2017-04-14 18:06:32 +00:00Commented Apr 14, 2017 at 18:06
-
sorry Mathew How to use that resource with sharepoint custom listKem Bardly– Kem Bardly2017-04-14 20:31:01 +00:00Commented Apr 14, 2017 at 20:31