Oracle CRM On Demand JavaScript API Developer's Guide > Overview of the JavaScript API > Overview of Customizing Buttons >

Hiding and Disabling Buttons


The JavaScript API provides methods to hide buttons and show buttons that were previously hidden. This feature is useful for situations when preconfigured buttons in Oracle CRM On Demand are not required by the user. You can hide buttons unconditionally or hide buttons based on some specified condition, for example, based on user roles.

You can use methods to disable buttons so that they are grayed out, and to enable buttons that were previously disabled. For information about all of these methods, see Methods for the Button Object.

Oracle CRM On Demand JavaScript API Developer's Guide, Release 38 Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Legal Notices.