cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement a custom action in message box?

0 Kudos

Hi experts,

I'm working on a Fiori element app in oDatav4 and our back end is RAP. Now I want to implement a custom action named "Check", to excite our back-end API, which this button was located in our message box, how to do this? I could not find any resources about this, please help.

Thanks!

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Addition: I was trying another way to implement a sap.m.Dialog, and it came out this error, which confused me a lot, since I did not create any fragment related to this.

This is the code:

And this is the error:

ThorstenHoefer
Active Contributor
0 Kudos

Hi Zoe,

onClose is a callback method with the parameter oAction. Dependend on the action, you can perform the next step.

Step 8: OData Operations - Documentation - Demo Kit - SAPUI5 SDK (ondemand.com)

0 Kudos

Hi Hofer,

We are a fiori element app, and it doesn't have a view, does it means It still need an extra fragment or something?