on 03-10-2017 4:31 AM
Hi All,
I am trying to upload and delete files from upload collection control with instantUpload = true.Here what i observed is when i am clicking on add button of uploadcollection add a file, it fires odata request to post the file, but with delete button to delete the file is not making any odata call request , So is this the expected behaviour or is it something prerequisite i need to take care for delete button to fire odata re request??? , please help me here .
Sap.ui.version = 1.44.4
Thanks in advance,
Avinash
Hello Avinash,
I am using UploadCollection UI element to upload the attachment but my CREATE_STREAM method is not getting called while adding the attachment.
XML View:
<UploadCollection id="UploadCollection" maximumFilenameLength="55" maximumFileSize="10" multiple="false" sameFilenameAllowed="false" showSeparators="All" noDataText='No Attachment found' change="onChange" instantUpload="true" uploadUrl="/sap/opu/odata/sap/ZPROJ_DNT_ATTACHMENT_SRV/ZENT_ATTACHMNTSet"> </UploadCollection>
Controller:
OnChange method:
Have set the value of Token/SLUG/ContentType, but Create_stream is not getting call.
Will it be possible for you to share your code so that I can understand how this UI element works.
Regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.