Announcement
Collapse
No announcement yet.
X
-
That's correct, there's no support for download from the RESTHandler. From a SmartClient UI, you can just do it via calling IDACall as normal. If you wanted a third party to be able to do the download, you could add a DMI that calls RPCManager.doCustomResponse(), the stream the file yourself.
-
12.0p: Downloading binary data via RESTHandler
Hi Isomorphic,
it seems that it is not possible to download a file added via the GUI and FileItem/UploadItem via RESTHandler in current 12.0p.
I tried this:
Code:<request> <dataSource>T_ATTACHMENT</dataSource> <operationType>downloadFile</operationType> </request>
Code:java.lang.Exception: Operation type downloadFile not supported by generateSQLStatement
If this is not built in yet (?), also a DMI solution with manual fetch and setData() call would be OK.
Thank you & Best regards
BlamaTags: None
Leave a comment: