Displaying Resources Based on OpenURL Elements

Use one of the data test types below when you want to suppress the display of a resource link in records that are related by

These data tests contain rules to test one or more fields in an OpenURL. To use a data test, create the data test and assign the test to one or more target resources.

Testing OpenURLs for the Presence of Data

To use a Check data in field(s) 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:

    Data and Field Tests tab
  2. Choose the Create New button.

    The Data Field Test (new) tab displays.

    Data Field Test (new)
  3. Enter a Name.
  4. Choose Check data in field(s).

    Additional parameters display:

    Additional parameters
  5. Choose Has data.
  6. 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.
  7. To pass the data test only if the test passes for all the field selectors, choose Match All.
  8. To pass the data test if the test passes for any of the field selectors, choose Match Any.
  9. Choose Save.
  10. Assign the data test to a resource.

Testing OpenURLs for the Absence of Data

  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:

    Data and Field Tests tab
  2. Choose the Create New button.

    The Data Field Test (new) tab displays.

    Data Field Test (new)
  3. Enter a Name.
  4. Choose Check data in field(s).

    Additional parameters display:

    Additional parameters
  5. To check for the absence of data in a field, choose Has no data.
  6. 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.
  7. To pass the data test only if the test passes for all the field selectors, choose Match All.
  8. To pass the data test if the test passes for any of the field selectors, choose Match Any.
  9. Choose Save.
  10. Assign the data test to a resource.

Creating Custom Data Tests

  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:

    Data and Field Tests tab
  2. Choose the Create New button.

    The Data Field Test (new) tab displays.

    Data Field Test (new)
  3. Enter a Name.
  4. Choose Check data in field(s).

    Additional parameters display:

    Additional parameters
  5. Enter a regular expression in the Custom text box.
  6. 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.
  7. To pass the data test only if the test passes for all the field selectors, choose Match All.
  8. To pass the data test if the test passes for any of the field selectors, choose Match Any.
  9. Choose Save.
  10. Assign the data test to a resource.

Verifying That a Data Test Works

To verify that a data test is returning the desired result:

  1. Enter an OpenURL in the Test with OpenURL text box.
  2. Choose Apply.The data test is applied to the OpenURL.

    If the result is "False," the OpenURL failed the data test.

    If the result is "True," the OpenURL passed the data test.