on 02-03-2021 11:44 AM
Dear experts,
I'm struggling with displaying a warning message during save in a draft-enabled managed scenario. I stumbled upon a few examples of custom message display during saving, but they are for an unmanaged scenario. Unfortunately, as you know, in a managed scenario I don't have "CREATE" or "UPDATE" methods for custom save logic, and I can't also implement "CHECK_BEFORE_SAVE" or "FINALIZE" methods in a local saver class.
So far I tried putting message display logic in a validation method (see screenshot below), but it only works for displaying errors and terminating the save (at the end the user sees the error message). In order to display an error, I populate the "FAILED" table together with the "REPORTED" table with the specific message ID.
But for displaying warnings or success messages this approach doesn't work - I do not want to interrupt saving, thus, I intentionally do not populate the "FAILED" table, but if I don't populate it, it seems it doesn't matter if I put the warning/success message just into the "REPORTED" table - the message is not displayed, I see the standard "Object created" message.
How do I display warning messages in a managed scenario without interrupting saving?
Regards,
Mykyta
User | Count |
---|---|
75 | |
10 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.