Bookshelf Home | Contents | Index | PDF |
Oracle CRM On Demand JavaScript API Developer's Guide > JavaScript API Code Samples > Code Sample for Hiding a ButtonThe following sample code hides the copy button on the Opportunity Detail page. oraclecrmod.onReady(function() // when on the Contact Detail page if(oraclecrmod.ctx.object == "Opportunity" && oraclecrmod.ctx.isDetailPage()) button = oraclecrmod.getButton("BTN_TB_OpportunityForm_OpportunityPreCopyNav"); |
Oracle CRM On Demand JavaScript API Developer's Guide, Release 38 | Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |