on 07-21-2020 9:35 PM
Hello Peers,
I would like to know how to Preview the uploaded file/attachment in local system using uploadcollection in SAPUI5 ?
Note : I am using instantUpload property and after uploading the document, user anted to see the as a "Preview" of what he uploaded..
Could you please suggest me , how we can achieve this.
Regards,
Arjun.
Hi Arjun,
If your requirement is uploading images & want preview of it, then UI5 has own control Image Editor (sap.suite.ui.commons.imageeditor).
Regards,
Prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I usually refresh the attachments after uploading, so it will fetch all the attachments including their key fields then I will generate the upload url in a formatter and on click of it it will trigger grtStream method and fetches the attachment
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mahesh ,
Thank you for your answer, see i wanted to view my PDF file which i have uploaded , for this i used uploadcollectionitem but unfortunately after uploading done my attachment is not clickable , can you suggest me if you aware attached ref screenshpt. capture.png
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.