Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Make a button appear as type Accept

Hi,

I am currently doing extensions for a Standard SAPUI5 MyInbox App. I am able to add a button to the bottom right hand corner as shown below. Does anyone know how to make it look like an Accept button (Green color).

extHookChangeFooterButtons : function(oButtonList) {

if (oButtonList.aButtonList) {

     oButtonList.aButtonList.unshift({

     sBtnTxt : "Submit",

     onBtnPressed : function(event) {

          that.showItemApprovalDialog();

          }

          });

     }

}

Thanks,

Murali

replied

"My Inbox" app can have only one positive (green, type 'Accept') button and it somehow make sense.

Do you want to have two "green" buttons in the footer? If not, you can overwrite Approve to Submit as shown below.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question