Dear Experts,
I need help to hide the button accept in my portal. We need that only button show is Accept with Changes.
I follow the document:
I create the component.js and put this code:
<%-- <%@page language="abap"%> --%>
jQuery.sap.declare("zcoll_portal.Component");
jQuery.sap.require("sap.tl_collaboration_portal.Component");
// new custom component
sap.tl_collaboration_portal.Component.extend("zcoll_portal.Component", {
metadata : {
customizing : {
//customizing code to be added
}
},
init : function() {
this._oResourceModel = new sap.ui.model.resource.ResourceModel({bundleName:
"sap.tl_collaboration_portal.language_bundle.i18nGeneral"});
}
});
jQuery.sap.declare("zcoll_portal.Component");
jQuery.sap.require("sap.tl_collaboration_portal.Component");
// new custom component
sap.tl_collaboration_portal.Component.extend("zcoll_portal.Component", {
metadata : {
customizing : {
"sap.ui.viewModifications" : {
"sap.tl_collaboration_portal.view.requestsForQuotationCasual" : {
"btnAcceptRfq" : {
"visible" : false
}
}
}
}
}
});
But the button show us yet.
Someone have more suggestion for me?
Thanks.
BR.
Renato Okamoto