When a user attempts to delete a record on OpenPages, the system presents them with a pop-up ‘OK' / ‘Cancel'. It's a really good ‘user experience'.
We'd like to implement a similar two-pass logic, and being able to utilise this same approach would be ideal – particularly as all other options I can think of for achieving the same result are much worse.
It would be very useful if the base code (mentioned at the start), could be tightly packaged such that we could call it as a utility using a defined interface.
The input parameters I would expect to see would be
- Action (update/create/associate etc.)
- Condition (e.g. Object1.Value > Object2.Value)
- Popup wording (e.g. Are you sure you want to enter a date in the past?)
Suggest to keep things simple, that OK & Cancel remain the only two options and OK always means proceed / Cancel means don't
I suspect this needs some restriction to stop it clashing with existing instances of this code (e.g. on delete & dis-associate)