Suppressing Resources Based on the Presence of Data in Fields

When you want to suppress the display of a resource link in records that are related by the presence or absence of certain data in a bibliographic record field, such as the presence of data in the AUTHOR field or the presence of a string in the TITLE field, use a data test of the type "regular expression."

When you request target resources from the full record displays of WebPAC and Sierra, the record in the full record display is tested against the regular expression.

To create a regular expression data test that suppresses resources:

  1. Create the regular expression.
  2. Create the regular expression data test:
    1. Access the WebBridge Management menu by either:
      • entering http://your_library_[domain]/webbridge/edit in the browser address window
      • choosing Admin | WB Edit in an application


      The WebBridge Management menu displays:

      WebBridge Management menu
      NOTE

      Only one user can be logged in to the WebBridge Management menu's edit function. Other users can access the menus in View Only Mode.

      If there is no activity by a login within the timeout period, the user is automatically logged out.


    2. Choose Edit Data Tests.

      The WebBridge Management - Data Tests menu displays.

      WebBridge Management - Data tests menu
    3. Choose Create New....

      The WebBridge Management - Datatest menu displays.

      WebBridge Management - bool query data test
    4. Enter a Name.
    5. Choose Regular Expression.
    6. Enter the regular expression in the Regular Expression text box.
    7. Choose a field selector by moving it from the available to the selected column.

      Choose a field selector that is defined for bibliographic record fields (i.e., that has an entry in the Library Catalog definition).
    8. Choose Save.
  3. Assign the regular expression data test to a resource.

    Typically, regular expression data tests to determine the presence or absence of data in a field are used to suppress links from Sierra or WebPAC full record displays. See Assigning Data Tests to Resource Links from WebPAC or Sierra Full Record Displays.
  4. Test the query:
    1. Search the WebPAC or Sierra databases for a record that passes the data test (for example, has data in a field specified by the data test).
    2. Request target resources.

      The target resources that have the regular expression data test assigned to them display.

      The target resources that do not have the regular expression data test assigned to them will not display.