Pending Review
Last Updated: 09 Aug 2017 11:34 by Telerik Admin
Imported User
Created on: 05 Sep 2013 13:22
Category: Upload
Type: Feature Request
11
Upload to OData service
Add support to the Upload widget to upload files to an OData service, for instance to add attachments to SharePoint list items using SharePoints OData service. 

At the same time it would be good to be able to specify the urls for the Upload widget in an upload-datasource in a view model to which the Upload widget is databound, basically separate the uploading from the widget. That way you can choose to use an OData upload-datasource or a multipart/form-data upload-datasource. Obviously this OData upload-datasource may only be supported in browsers that support the HTML5 file api.
2 comments
Imported User
Posted on: 09 Aug 2017 11:34
Also, some better guidance and examples on how to implement the Upload feature with SharePoint would be great. Really struggling here on how to get it right .
Shelly
Posted on: 09 Feb 2015 15:41
The Kendo Upload widget really needs an option to allow the choice between oData upload and multipart/form-data datasources.  Something similar to the processData parameter in jQuery's $ajax post would be helpful.  

I need to send the file as an ArrayBuffer in the payload of the http post in order to save it using SharePoint's oData service.  I can do that with jQuery's $.ajax and also with AngularJS's $http request and as a $resource.

Is there an option in the Upload widget I maybe missed? Thanks!