docs
docs copied to clipboard
Node.js - Error Sanitisation & OData V4 Server Messages for Confirmation Popups in Fiori Elements
Hi,
I'm trying to get OData V4 Server messages to work https://ui5.sap.com/#/topic/fbe1cb5613cf4a40a841750bf813238e to get Confirmation Dialogs in my Fiori Elements applications (see https://ui5.sap.com/#/topic/9a536627a6a94de084b0605eb164d2c8), but it seems as CAP does not allow all properties SAPUI5 supports, but only the ones from the OData standard. Unfortunately SAPUI5 cannot work with "@transition" but expects "transition", which is sanitised by CAP.
It would make sense to state here https://github.com/cap-js/docs/blob/7ec87234640ab542e775a95ef00fbcb7ad7943fa/node.js/events.md?plain=1#L429 that Confirmation Popups in Fiori Elements are not supported by CAP or the additional properties that SAPUI5 supports for errors should not be sanitised.
Kind regards, Sebastian