Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Primo

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Primo
    3. Community Knowledge
    4. How to modify the normalization rules for the ‘Subject’ field to include subfield v and for the 'Genre' field to display 655 field in Primo VE

    How to modify the normalization rules for the ‘Subject’ field to include subfield v and for the 'Genre' field to display 655 field in Primo VE

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    Created By: Amanda Swann
    Created on: 2/20/2019



    In Primo VE, MARC fields mapped to ‘Subject’ display subfield $$v as a separate field.

    It is possible to change this using the display normalization rules.

    Go to ‘Manage display and local fields’ > ‘Add Field’ > ‘Add display field’ and select ‘Subject’ as the field to edit.

    You can then edit the normalization rule to include subfield v for all included MARC fields.

    The OTB rule uses the following format for all included MARC fields:

    rule "Primo VE Display - Subject 600"

                    when

                                    MARC."600" has any "a-u,w-z" AND NOT

                                    MARC."600".ind"2"  equals "2"

                    then

                                    set TEMP"1" to MARC."600" subfields "a-u,w" delimited by " " remove substring using regex "\\.+$"

                                    set TEMP"2" to MARC."600" sub without sorting "x-z" delimited by " -- "

            remove substring using regex (TEMP"2","\\.+$")                      

                                    concatenate with delimiter (TEMP"1",TEMP"2"," -- ")

            create pnx."display"."subject" with TEMP"1"

    end

     

    Change this to the following for all included MARC fields to display subfield v:

    rule "Primo VE Display - Subject 600"
        when
            MARC."600" has any "a-z" AND NOT
            MARC."600".ind"2"  equals "2"
        then
            set TEMP"1" to MARC."600" subfields "a-u" delimited by " " remove substring using regex "\\.+$"
            set TEMP"2" to MARC."600" sub without sorting "v-z" delimited by " -- "
            remove substring using regex (TEMP"2","\\.+$")        
            concatenate with delimiter (TEMP"1",TEMP"2"," -- ")
            create pnx."display"."subject" with TEMP"1"
    end

     

    You can also edite the OTB display normalization for Genre to just display MARC field 655:

    rule "Primo VE - Genre 655"

                    when

            MARC is "655"

                    then

           set TEMP"1" to MARC."655" subfields "a-c" delimited by " " remove substring using regex "\\.+$"

                                    set TEMP"2" to MARC."655" sub without sorting "v-z" delimited by " -- "

            remove substring using regex (TEMP"2","\\.+$")                      

                                    concatenate with delimiter (TEMP"1",TEMP"2"," -- ")

            create pnx."display"."genre" with TEMP"1"

    end




    Report
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to harvest WordPress (or other RSS feeds) into Primo
      • How to remove records from deduplilcation
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Community Content Type
      How To
      Language
      English
      Product
      Primo
    2. Tags
      This page has no tags.
    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