Displaying Resources Based on Coverage Data

When you want to suppress the display of a resource link because the resource is not available based on coverage data, use a data test of the type "match data." Failure to suppress such links results in the user encountering an "Error 403: Access Denied" message.

Match data tests determine whether field selectors match fields in the coverage database.

To use match data tests, you create one or more field selectors, create a match data test, and assign the test to one or more resources.

A match data test works like this:

  1. An OpenURL is received.
  2. WebBridge LR searches the OpenURL for a field that matches the field selector assigned to the data test.
  3. WebBridge LR applies the Regular Expression (if any) of the field selector to the data in the field.
  4. The result is matched against the contents of the coverage database during the match data test.
    • If the match data test passes, and the match data test is assigned to one or more resources, then those resources display.
    • If the match data test fails, and the match data test is assigned to one or more resources, then those resources do not display.
    • If the match data test is not assigned to a resource, it displays.

Suppressing Resources with Match Data Tests

To create a match data test that suppresses resources:

  1. Create a field selector.
  2. Create the match data test:
    1. Choose Data and Field Tests from the menu on the left-hand side of the WebBridge LR home page.

      The Data and Field Tests tab displays:

    2. Choose the Create New button.

      The Data Field Test (new) tab displays.

    3. Enter a Name.
    4. Choose Match in coverage database.
    5. Choose a field selector by moving it from the Available to the Selected column.

      Choose a field selector in which the Additional Settings are defined (whether to normalize data from the OpenURL before matching, and which coverage database field to match).
    6. To pass the data test only if all the field selectors match, choose Match All.
    7. To pass the data test if any of the field selectors match, choose Match Any.
    8. Choose Save.
  3. Assign the match data test to resources.