Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Is it possible to suppress certain patron data elements via x-service bor-info?

    • Article Type: Q&A
    • Product: Aleph
    • Product Version: 20

    Question

    We only want to display certain patron data elements (e.g. name and telephone) and suppress all others.
    How can this be done?

    Answer

    Optional parameter "filter_data" can be used for this purpose.

    To use this optional filter, add a file into directory $alephe_root/www_x_eng (for example tab_bor_info_filter). The displayed data fields that should be defined.

    Example-file tab_bor_info_filter:
    Z303-NAME
    Z304-TELEPHONE

    Add parameter &filter_data=<file_name> to the X-server-request:
    http://<server>:<port>/X?op=bor-info&bor_id=00141&verification=0028&library=usm50&filter_data=tab_bor_info_filter

    In this case only name and telephone will be displayed. It is only possible to filter out fields from the DB with this mechanism. That means that fields that are not from the DB but generated "on the fly" by the X-server (for example <balance>) will still be displayed. Please note that when using the filter_data-parameter all fields without content will be filtered out automatically even if the field is part of the filter-file.

    Category: X-server (500)


    • Article last edited: 10/8/2013