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 |
The preferred method of creating button fields is to use the LABELS / BUTTONS tab within the data dictionary and create the button field there. Historically, before version 20.0, button fields were created as UDF fields with a specially formatted name and with a Custom display type. The Help Text was used to create the label text for the button. Whilst the old method is maintained for backwards compatibility it is now recommended that you create a native type button field.
The historic method allows you to create and place a button with any label of your choosing on an add or edit screen by defining a field with a display type of Custom in the data dictionary, with its name beginning 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. Note that when you create a button field in this manner, a global attribute named CONFIRM_STANDARDS is added to it's data dictionary entry. This does not need to be altered in any way by the administrator.
The following are used to define these historic buttons:
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.
onchange
business rule, ExtraView will execute the necessary onclick
action to initiate the action.
In versions of ExtraView prior to 10.0, you may have added a JavaScript function via the HTML_MODIFIER attribute, such as:
onclick='javascript:;userSubmitChangeAjax(this.name)';
This is no longer required for the functionality to work. If you have such a HTML_MODIFIER, it will adversely effect the smooth functioning of the ExtraView code by introducing unnecessary screen refreshes. Therefore, remove the HTML_MODIFIER if it exists from a previous version
if (BUTTON_CREATE_TEST_CASE.{changed}) {
ADD :
AREA = 'Test Case Management';
TEST_CASE_STATUS = 'New';
PROCEDURE = TEST_INSTRUCTIONS;
MODULE_ID = MODULE_ID;
ASSIGNED_TO = '{null}';
CREATED_FROM_BUG_ID = ID;
COMMENTS = DESCRIPTION;
}