Bookshelf Home | Contents | Index | PDF |
Oracle CRM On Demand Desktop Administration Guide > XML Files Reference > XML Code to Customize Toolbars > Toolbars Element of the toolbars.xml FileThe toolbars element is the root element of the toolbars.xml file. It describes the toolbar that Oracle CRM On Demand Desktop adds to a native Microsoft Outlook form or Microsoft Outlook window. The caption attribute of the toolbars element defines the caption of the toolbar. The toolbars element includes the following tags:
Button Element of the Toolbars Element of the toolbars.xml FileThe button element includes the following attributes:
Action Element of the Button ElementThe button element includes the action element, which defines the action that Oracle CRM On Demand Desktop calls if the user clicks the button. You can use a predefined action or write a custom action. You must set this action in the class attribute of the action element. The action element includes the attachment element. To define attachment settings, you must define the following attributes of the attachment element:
Example Code of the Action Element of the Scriptable ActionOracle CRM On Demand Desktop supports the scriptable action class. The action element of the scriptable action includes the id attribute. You can use the id attribute in a script to specify the action to perform. The following example specifies a button with a scriptable action: <button id="new_account" name="#btn_new_account"> In this example, Oracle CRM On Demand Desktop passes the value for the new_account attribute to the script when it handles the click event of the button. The script includes the predefined logic which the new_account attribute starts. |
Oracle CRM On Demand Desktop Administration Guide, Version 5.2 | Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |