on 06-06-2020 6:43 PM
Hello Community,
It's about the UI5 control sap.m.UploadCollection,
The issue I am facing is unlike other boolean properties of sap.m.UploadCollection if I am setting the "instantUpload" property value to be dynamic, let's say "{= ${appMode} !== 'create'}" the control sap.m.UploadCollection does not react to the property change dynamically instead it always behaves for the property value it is at initial rendering time.
Even setting/changing it via controller after rendering also does not seems to work. Has anyone faced this similar issue ?
UI version: 1.44
No Errors in Console
Regards,
Punith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay, I wonder why I didn't get the console logged with this message while I used setInstantUpload function. May be I will check this out in debug. Thanks @mahesh kumar palavalli for the answer.
I have already implemented a similar solution of having two UploadCollection controls and controlling them with the visibility.
Regards,
Punith
I suggest to upgrade the UI version to one of the latest stable version with long-term maintenance: https://sapui5.hana.ondemand.com/versionoverview.html
I know it is not ideal and using bindings is definitely better, but have you tried to use the function to change this property? https://ui5.sap.com/#/api/sap.m.UploadCollection%23methods/setInstantUpload
Kr, Wouter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.