Quantcast
Channel: SCN : Discussion List - SAP Transportation Management (SAP TM)
Viewing all articles
Browse latest Browse all 331

Collaboration Portal - Hide Button Accept

$
0
0

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:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c090ae93-2605-3210-ffbb-e00c790e810b?QuickLink=index&…

 

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


Viewing all articles
Browse latest Browse all 331

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>