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

Contexts in Which You Can Customize Buttons


Using the JavaScript API you can customize buttons in the following contexts:

  • On the Homepage for a record type, such as Account, Contact, Lead, and so on
  • On the Detail page for a record type
  • On the Edit Page for a record type
  • On related information (child) applets for record types, for example, the Account Related Information applet on contact records
  • On applets on My Homepage
  • On Administration pages
  • On pop-up windows, including the following:
    • Quick create windows (new record form) available from the action bar
    • Single-association Lookup windows
    • Multiassociation Lookup windows
    • Multi-select picklist pop-up windows
    • Currency pop-up windows

Customizing buttons on any other page is not supported. Menu buttons are also not supported, and you cannot add custom buttons to the action bar.

Customizing buttons on both standard and customized page layouts is supported, and you can create custom buttons on customized page layouts. Different page layouts can have the same buttons with different behavior.

In the related information sections for records (child applets), button customizations will appear in both the tab view and the expanded view. For example, if you disable a button for a child applet, then it appears disabled in both the tab view of the related records and on the expanded view for the child record.

You can use methods to determine the context in which your code runs, including the page type and information about the currently logged-in user. For more information about these methods, see Methods for the Context Object.

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