This documentation supports the 19.08 version of Remedy Action Request System.

To view an earlier version, select the version from the Product version menu.

Adding buttons and URLs to tables

In pre-7.5.00 versions of BMC Remedy AR System server, buttons that affected table items had to be outside the tables. To perform actions with the buttons, users first selected a field in a table row and then clicked the button.

Now, you can add buttons to columns inside these types of tables:

  • List view
  • Cell-based

For example, this table contains three styles of buttons: URL, text, and image:
(Click the image to expand it.)



When adding buttons to tables, consider these points:

  • Buttons in tables can have text or images but not both. They can also be displayed as URLs in a browser.
  • For an image button, the Button Label value is used only as a column header. To have no column header, leave this property empty.
  • Row height is determined by the tallest button in the row. Regardless of how high a row is, text in other columns is displayed in a single line without wrapping.
  • If you use the standard button size, rows must be higher than usual, and fewer rows might appear in the table's scrollable area. To preserve standard row height in a browser, use CSS to designate a small font for table button labels (see BMC Remedy AR System installed forms).
  • Large images on buttons can make table rows difficult to read. After adding an image to a button in a table column, check the result in a browser to make sure that the button and row text are proportional to each other and that a reasonable number of rows appears in the table's scrollable area.
  • When users resize rows that contain buttons, the buttons are not scaled. Instead, the buttons are clipped or surrounded by extra white space.
  • Clicking a button causes its row to be selected before any workflow fires. Therefore, the column field values can be used as parameters in workflow because they always refer to the same row in which the button click occurred.

Setting workflow for buttons in tables

To execute an active link when users click a button in a table, you must associate the active link with the column field, not with the related button control field that resides on the form.

Therefore, in the Execution Options panel for the active link, select the column field, not the control field, in the Field Selector for the Button/Menu Field field:
(Click the image to expand it.)



If you select the control field, the active link will not fire when users click the buttons in the column.

Note

You cannot share active links between column and control fields.

To add a button to a list view table

  1. Add the button to the form that contains the table.
  2. Select the table.
  3. In the Properties tab, select one of the following properties, and click its ellipsis button:
    • (List view, tree view, alert list, results list) Tree/Table Property
    • (Cell-based) Remote/Local Fields
      The Tree/Table Property or Remote/Local Fields dialog box appears.
  4. In the Fields from Remote Form formName and Local Form formName list, select the button field.
  5. Use the arrow buttons to move the button field to the Table Columns list.
  6. Click OK.
  7. (Optional) Modify the button column heading:
    1. On the form, select the appropriate column in the table.
    2. In the Properties tab, edit the Label property value.
  8. Modify other column properties as necessary.
    All standard column properties apply to columns that contain buttons. The values for the Display Type property have these meanings:
    • Read Only — Button is disabled.
    • Editable — Button is enabled.
    • Read Only-HTML — Button is enabled.
  9. (Optional) Hide the button that resides on the form.

    Note

    Because rows do not appear in table list views in BMC Remedy Developer Studio, the button is not displayed inside the table at design time. At runtime, however, identical buttons appear in each row of the table.

To modify a button in a table

  1. Select the table.
  2. In the Properties tab, select the Tree/Table Property property, and double-click its ellipsis button.
  3. In the Tree/Table Property dialog box, find and note the name of the button field in the Table Columns list.
  4. Close the dialog box.
  5. Using the field name found in step 3, find and select the button field that resides on the form.
  6. In the Properties tab, edit the following button properties as necessary:

    • Alternative text
    • Image
    • Label Font
    • Button Label
    • Image Position
    • Maintain Aspect Ratio
    • Display as Flat Image
    • Label/Text Color
    • Scale Image to Fit

Was this page helpful? Yes No Submitting... Thank you

Comments