Skip to Content
0
Oct 25, 2021 at 11:00 AM

SAP MDK - Navigate back message

377 Views Last edit Nov 12, 2021 at 12:22 PM 2 rev

Dear experts,

I´m trying to set a message when the user clicks on the back button. Something like "Are you sure you want to quit...?". I´m usign onActivitybackPressed event (https://help.sap.com/doc/69c2ce3e50454264acf9cafe6c6e442c/Latest/en-US/docs-en/reference/schemadoc/Page.schema.html) but nothing happens.

Could you please help me? In the documentation I read that you can use a rule or an action on this event and I need to check some information and provide a message but this event doesn´t work. Is there another event I can use when leave a page?

Thanks in advanced,

Estefania