on 2023 Oct 30 3:26 PM
Hi,
I am working on a CAP project with Fiori Elements List Report frontend. I have a custom on READ handler for a certain entity and I would like to show notifications to the user on the UI after the read event.
The way I implemented it is as follows:
service.js
----------------
module.exports = (srv) => {
// ...
srv.on('READ', 'Connections', (req) => {
// ...
if (...) {
req.warn({code: 'DATA_INCOMPLETE',message: 'Data could only be partially retrieved. ...'});
}
// ...
});
// ...
}
The request functions with lower severities (warn/info/notify) don't seem work when I am handling READ requests.
Is this normal behaviour? If so, is there another "CAP/Fiori Elements way" of showing the warnings to the user (other than writing it in native UI5)?
Thanks,
Atakan
Request clarification before answering.
User | Count |
---|---|
81 | |
12 | |
9 | |
8 | |
8 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.