Creating a Non-text Resource

Non-text resources retrieve binary data, such as graphic files, from the Repository To create a non-text resource:

  1. Display the Database Explorer.
  2. Find the table where the binary data you want to retrieve is stored.
  3. Select the table, and drag and drop it into the application. From the popup menu, choose Non-text.
  4. Double-click on the resource to open it in a separate tab.
  5. You can specify an alternate Alias.
  6. From the Column drop list, select the column where the binary data you want to retrieve is stored.
  7. To specify the rows from which to retrieve data:
    1. Click in the Variable column, then click the brows button.

      The Workbench displays the Value Selector.

    2. In the Type field, select Backend Column.

      Rhythmxy populates the Choices field with a list of columns in the table.

    3. Select the column you want to use to define the data to select and click the [OK] button.
    4. Click in the Op field and select the operator for the statement.
    5. Click in the Value column and click the browse button.

      The Workbench displays the Value Selector.

    6. In the Type field, specify the Type of data to be used on the right-hand-side of the selection.
    7. Select the specific value for the comparison from the Choices field and click the [OK] button.
    8. If you want to use another selection criterion,click in the bool field and select the Boolean operator. Options include AND and OR.
  8. To specify the MIME type to return, select one of the radio buttons in the MIME type box. The Use default option outputs the file using the stored format. The Get from table option outputs the binary in the format specified by the value in the table Column selected.
  9. Click the [OK] button to save the resource.