Experts,
I've extended an MM_PO_APV app in SAPUI5, and challenged to hide the 'Forward' button extending the controoler, with the following code:
this.setHeaderFooterOptions({
oPositiveAction: {
sI18nBtnTxt: that.resourceBundle.getText("XBUT_APPROVE"),
onBtnPressed: jQuery.proxy(that.handleApprove, that)
},
oNegativeAction: {
sI18nBtnTxt: that.resourceBundle.getText("XBUT_REJECT"),
onBtnPressed: jQuery.proxy(that.handleReject, that)
},
onBack: jQuery.proxy(function() {
//Check if a navigation to master is the previous entry in the history
var sDir = sap.ui.core.routing.History.getInstance().getDirection(this.oRouter.getURL("master"));
if (sDir === "Backwards") {
window.history.go(-1);
} else {
//we came from somewhere else - create the master view
this.oRouter.navTo("master");
}
}, this)
});
But there is a button link 'Save as Tile' that I want to remove, but i didn't found anything about it. Could you help me please?
Actually:
![1.png]()
What I want to achieve:
![2.png]()
Regards,
André