Skip to main content
ExLibris

Knowledge Assistant

BETA
  • Subscribe by RSS
  • Back
    Alma

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Alma
    3. Knowledge Articles
    4. Normalization rule to copy a subfield of a field to another field

    Normalization rule to copy a subfield of a field to another field

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Question
    2. Answer
    3. Additional Information
    • Article Type: Q&A
    • Product: Alma

    Question

    Using a normalization rule, we want to copy only subfield $$a of field XXX to another field YYY. How can we achieve that?

    Answer

    You need to use a workaround where you do the following:
    1. Backup the current field XXX in a temporary field (let's call it ZZZ).
    2. Delete all subfields except $$a from XXX.
    3. Copy the field XXX to YYY.
    4. Restore the original field XXX by copying it from the temporary field ZZZ.
    5. Delete the temporary field ZZZ.

    Additional Information

    This is an example for copying subfield $$a of field 084 to a new field 984. A temporary field 983 is created in the process but will be deleted in the end:

    rule "Copy 084 to 984"
    when
    (TRUE)
    then
    CopyField "084" to "983"
    RemoveSubfield "084.b"
    RemoveSubfield "084.q"
    RemoveSubfield "084.2"
    RemoveSubfield "084.6"
    RemoveSubfield "084.8"
    CopyField "084" to "984"
    RemoveField "084"
    CopyField "983" to "084"
    RemoveField "983"
    end

    Category: Metadata editor - Alma


    • Article last edited: 5/6/2014
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Normalization routine to remove the 900 field
      • Normalization rule to delete a field unless it has a specific content
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Content Type
      Documentation
      Language
      English
      Product
      Alma
    2. Tags
      1. contype:kba
      2. Metadata Editor - Alma
      3. Resource Management - Alma
    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