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

    Validate Multiple Occurrence of a Field or String in NR

    • Article Type: General
    • Product: Primo
    • Product Version: 3

    Description:
    We want to use the 856 field if there is only one occurrence, but if there are multiple 856 fields we want to link to somewhere else (instead of having the list).
    How can we ‘count’ fields -- maybe the appearances of the string ‘http’?

    Resolution:
    To validate multiple occurrences of a field or string appearances in the Normalization Rules, try the following:
    1. Merge all 856 fields into a local display field, e.g., lds15, using a specific string as delimiter, e.g., 'XXX':
    2. Check for existence of this delimiter 'XXX' in display/lds15, because this string exists only for multiple occurrences of the 856 field.

    See attached file for screen shots.


    • Article last edited: 10/8/2013