4 weeks ago
Hi,
I have created a CAP application with Fiori Elements and in the same process, I want to include field(s) in entity for image upload in edit mode and download/view in display mode.
Please suggest the image handling (upload/download) in Fiori Elements.
How about using the Attachment plugin? (Please note that it is currently a beta feature)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @MioYasutake ,
Thanks for the reply.
When I use the Attachments, the Project model goes into hang situation.
Actually I am also using projman-service-ui.cds (as the ui for the cds along with projman-service.cds and projman-service.js) which I think causing somehow conflict in the output.
Please suggest.
It looks like the latest UI5 versions (1.124.0 and 1.123.0) have an issue. If you change the version to 1.122.0, the object page loads successfully.
index.html
src="https://sapui5.hana.ondemand.com/1.122.0/resources/sap-ui-core.js"
To use SAP HANA Cloud for storing attachments, add the following setting to package.json.
"cds": {
"requires": {
...,
"attachments": {
"kind": "db"
}
}
}
My Git repo for reference: https://github.com/miyasuta/cap-attachment
Hi Mio, I am getting error while testing in hybrid mode. Also when I deploy the solution to Production, I am getting errors (attached log file in link below). Please check this - https://github.com/cap-js/attachments/issues/50
User | Count |
---|---|
77 | |
11 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.