Field Name | Title | Definition |
DELETE_BUTTON | Delete Button | The item delete button. Access to the security permissions for this button allow users to delete issues |
EDIT_BUTTON | Edit Button | The drill down edit button used on reports and within email |
HISTORY_BUTTON | History Button | The button that accesses history from the edit screen or reports |
QUICKEDIT_BUTTON | Quickedit Button | The button that accesses the Quickedit mode from column reports and Quicklists |
VIEW_BUTTON | View Button | The drill down button that allows you to see the detailed report for an issue |
SAVE_BUTTON | Save Button | This button is used on attachment layouts, allowing users to save rather than view attachments |
This allows you to create and place a button with any label of your choosing on an add or edit screen.
Define a field with a display type of Custom in the data dictionary, with its name begining with the characters BUTTON_ or ending with the characters _BTN. Placing this field on an add or edit screen layout results in a button being generated on the screen, when you place the field on a layout.
The following are used to define the button:
Data dictionary field | Purpose |
Name | This defines the name of the field. For example, a button named BUTTON_GENERATE is valid. |
Display Type | Must be Custom |
Title | Typically this is a space character |
Help Text | This will become the text on the button |
To provide the action for the button, place a layout cell attribute of type FIELD HTML MODIFIER within the layout upon which you place the button. There are three primary ways you can provide an action for this button:
onclick=window.open("evSignon?p_action=doAddDisplay&p_option=Display&p_close_win=true&ev_menu=off&p_area=7&p_project=9")
The parameters for the Area and Project use their respective IDs. Note that the URL does not need to reside within ExtraView and your action might open up a web address anywhere. See the API Guide for more information.
onclick='javascript:;submitChange(this.name)';
if (BUTTON_CREATE_TEST_CASE.{changed}) {
ADD :
AREA = 'Test Case Management';
PROJECT = 'Test Cases';
TEST_CASE_STATUS = 'New';
PROCEDURE = TEST_INSTRUCTIONS;
MODULE_ID = MODULE_ID;
ASSIGNED_TO = '{null}';
CREATED_FROM_BUG_ID = ID;
COMMENTS = DESCRIPTION;
}