This is a migrated thread and some comments may be shown as answers.

Upload to SharePoint picture library

2 Answers 103 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Dusko M
Top achievements
Rank 1
Dusko M asked on 24 Jun 2018, 09:42 PM

Hi,

Is it possible to modify uploadUrl to upload selected file to SharePoint picture library?

 

Is it possible to handle this upload process manually somehow (view custom function)?

2 Answers, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 25 Jun 2018, 09:27 PM

I would think you would need to use the onUpload method of the uploader and call the Sharepoint API with the file information. 

This might help you get on your way: https://sharepoint.stackexchange.com/questions/138893/upload-new-image-in-asset-library-in-sharepoint-online

0
Plamen
Telerik team
answered on 26 Jun 2018, 10:02 AM
Hello,

You could also check the usearraybuffer property - when it is set to true the files are read as a file buffer by using FileReader. This buffer is sent in the request body.

Regards,
Plamen
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Editor
Asked by
Dusko M
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or