Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. GetRecord in OAI when two bases are exposed

    GetRecord in OAI when two bases are exposed

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Description
    2. Resolution
    • Article Type: General
    • Product: Aleph
    • Product Version: 20, 21, 22, 23

    Description

    We have two bases (ABC01 and ABC02) that should be exposed via publishing-based OAI data provider.

    In oaipubconf.xml we have:

    ...
    <set>
    <setSpec>ABC01</setSpec>
    <setName>ABC01</setName>
    <internalSet>ABC01_OAI:marc21</internalSet>
    </set>
    <set>
    <setSpec>ABC02</setSpec>
    <setName>ABC02</setName>
    <internalSet>ABC02_OAI:marc21</internalSet>
    </set>
    ...

    As it is written in documentation the first set should be the default set containing all records. But currently it only contains ABC01-records. So GetRecords works fine for ABC01-records but not for ABC02-records. How to solve this?

    Resolution


    You must have an additional set that has ABC01- plus ABC02-records.
    The following setup solved the problem:

    Setup in tab_publish of ABC01:
    ABC01_ABC02 N FULL OAI_MARC21_XML
    ABC01_OAI N FULL OAI_MARC21_XML


    Setup of tab_publish of ABC02:
    ABC01_ABC02 N FULL OAI_MARC21_XML
    ABC02_OAI N FULL OAI_MARC21_XML

    oaipubconf.xml:
    ...
    <set>
    <setSpec>COMPLETE</setSpec>
    <setName>ABC01 and ABC02</setName>
    <internalSet>ABC01_ABC02:marc21</internalSet>
    </set>
    <set>
    <setSpec>ABC01</setSpec>
    <setName>ABC01</setName>
    <internalSet>ABC01_OAI:marc21</internalSet>
    </set>
    <set>
    <setSpec>ABC02</setSpec>
    <setName>ABC02</setName>
    <internalSet>ABC02_OAI:marc21</internalSet>
    </set>
    ...

    Note: It is important that the combined set (in our case ABC01_ABC02) is the first set in oaipubconf.xml.


    Please restart p_publish_04 for set ABC01_ABC02 twice (once in ABC01, once in ABC02).


    • Article last edited: 29-Sep-2016
    View article in the Exlibris Knowledge Center
    1. Back to top
      • get_tab_columns: Mismatch between header 'COL' definitions and last header line
      • Getting Aleph 20 GUI to work with Windows 10
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 20
      2. contype:kba
      3. Prod:Aleph
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved