on 12-28-2022 10:59 AM
Hello all,
is it possible with an annotation to prevent overwriting files and deleting them?
With insertonly and grant I always failed at the PUT. PUT is used for both create and override, see doc: https://cap.cloud.sap/docs/guides/media-data
Many thanks and greetings
Hi akuqb,
it is not currently possible to prevent overwriting or deleting of media files using annotations. However, instead a custom handler can be used to implement this functionality. In the custom handler you can check whether a media file has already been created and reject subsequent requests that try to update or delete the file.
Best regards,
Marcel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi marcel.schwarz,
is there an alternative fiori elements annotation to remove the upload and delete buttons?
In my case there is a table in which information about certificates are stored, as well as the certificate itself. There it is not very nice, if someone deposits a wrong certificate. Or the buttons are still there and confuse the user.
happy and healthy new year
many greetings
User | Count |
---|---|
84 | |
11 | |
10 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.