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

    Managing Display and Local Fields for Primo VE

    Return to menu

    For Alma-Summon environments, see Configuring Local Display Fields.

    Introduction

    The Manage Display and Local Fields page (Configuration Menu > Discovery > Display Configuration > Manage Display and Local Fields) enables you to perform the following configurations to enhance the display of data from the bibliographic records stored in Alma:

    • Modify the normalization rules used to display information for the out-of-the-box display fields. For more information, see Modifying the Normalization Rules for a Display Field.

    • Create local fields that you can use to extend search queries, filter search results, and display additional information in the record's brief and full displays. For more information, see Adding a Local Field.

    PVE_Manage_DLF.png

    The Manage Display and Local Fields Page

    For more information about the out-of-the-box mappings, see Mapping to the Display, Facets, and Search Sections in the Primo VE Record.

    Normalization rule changes to the Display fields may also affect the display of fields returned from export actions.

    Related Webinars and Training

    Adding a Local Field

    The Define a Local Field page enables you to map additional information (such as notes) from the source records to a maximum of 100 local fields for MARC records and a maximum of 50 local fields for Dublin Core records, where these fields can then be used to extend search queries, filter search results with facets, and display additional information in the record's brief and full displays. The following mapping methods enable you to populate your local fields:

    • Bibliographic Field Method – This method supports the mapping of the following fields and all their subfields and does not require you to re-index existing records after defining a new local field:

      • MARC21: 009, 09X, 490, 5XX, 69X, and 9XX

      • UNIMARC: 3XX, 6X9, 69X, and 9XX

      • KORMARC: 09X, 5XX, 69X, and 9XX

      • CNMARC: 9XX

      You can use this method only if all the following are true:

      • The field from which you want to map information is one of the supported MARC fields.

      • You do not need to map the field conditionally based on the content of one or more of its subfields or another field.

      • You want to map the field's information as is.

      • If you decide to use the Normalization Rule mapping method for facets and search for a specific local field, you are no longer permitted to use the Bibliographic Field mapping method for display information and must create separate normalization rules for display information and search and facets information for this field.

      • If you want to display your Local field as a lateral link, see Configuring Hypertext Linking Definitions in Primo VE.

    • Normalization Rules Method – This method uses custom normalization rules to map MARC21, UNIMARC, CNMARC, and DC fields from the source records to local display, search, and facet fields.

      • To use this method for search and facets, you must first indicate which local fields to use for this purpose. For more information, see Configuring Local Search and Facet Fields for Primo VE.

      • You can create a maximum of 10 local facet/search fields.

      • If a member institution of a consortium uses this method for a local field, the same local field should not be used by other member institutions unless they are using either the same normalization rules or the Bibliographic Fields mapping method.

      • Normalization rule changes to local search and facet fields require you to contact Support to re-index all or a set of records.

    PVE_KOR_DefineLocalField.png

    Define a Local Field Page
    To add a local field:
    1. On the Manage Display and Local Fields page (Configuration Menu > Discovery > Display Configuration > Manage Display and Local Fields), select Add local field from the Add field drop-down list to open the Define a Local Field page.

    2. Specify the following fields:

      • Field to edit – Select the local field that you want to use.

      • Display label – Specify a display label for the information that you are mapping from the source records.

        Select the Globe button GlobeButton.png if you want to create translations for the label in the Advanced Search Index Fields Labels and Local Fields Labels code tables. For more information, see Configuring Display Labels.

    3. Specify the following fields in the Local field details section:

      • Enable field for search – Select this field if you want the information in this local field to be searchable by users. Regardless of this setting, the system automatically indexes local fields, but they are not searchable unless you select this checkbox. If you do not select this checkbox, you can still display the local field's information in Primo VE. For more details on search indexes, see Adding a Search Index.

      • Enable field for facet – Select this field if you want the information in this local field to be used as a facet to filter search results. Regardless of this setting, the system automatically indexes local fields, but they cannot be used as facets unless you select this checkbox. If you do not select this checkbox, you can still display the local field's information in Primo VE. For more details on facets, see Adding a Local Facet.

      • Use the parallel Local Field 01/50 from the Dublin Core record – For use with Dublin Core records only, select this field if you have defined DC normalization rules that map information to the associated local discovery fields (discovery.local1 - discovery.local50) in the Primo VE DC expanded schema. For more information, see Using the DC Expanded Schema.

        Primo VE supports a maximum of 50 local fields for Dublin Core.

      • Use Translations – When this option is selected, Primo VE will display the translations that are defined in the Local Field Translate code table for the local field's values. For more information, see Configuring Translations for Display and Facet Fields. If no translation is provided, Alma displays the value provided by the source record.

      • Use full text links for indexing – Select this option if you want to index the externally-held full text file (which can be of type PDF, TXT, or HTML) to which this field links in the bibliographic record. During the indexing of the local fields, Primo VE performs the following actions on each of the full text records:

        • Remove stop words based on the language.

        • Remove HTML tags.

        • Index up to 10,000 terms.

        In general, external full-text indexing occurs when a URL in the metadata leads to a full-text target, which may be a file of type PDF, TXT, or HTML. If the URL leads to a PDF file that contains text that is searchable within the file, Primo indexes that full-text target for searching. However, if that PDF file contains an image of text, such as a scanned image of a newspaper article, Primo does not index that full-text target because the text is not searchable within the PDF file. Note that this is not the case for Alma-D files, where OCR is used to convert text within images, allowing this text to be indexed and searched in Primo VE.

         

        • You can assign this capability only to a single local field and must use the Bibliographic Field mapping method.

        • If multiple full text links are defined for a record, only the last link is indexed.

        • For networks, this option needs to be enabled in the IZ configuration since it is not part of the local fields distribution.

    4. If you are using the Bibliographic Field mapping method, configure the MARC21 FieldsUNIMARC Fields, KORMARC Fields, and CNMARC Fields sections, as needed:

      1. Select Add MARC21 fieldsAdd UNIMARC fields, Add KORMARC fields, or Add CNMARC fields to open the appropriate dialog box for the source record's format.

      2. Select a field from the drop-down list.

        Example of MARC21 Fields Dialog Box

        Example of MARC21 Fields Dialog Box
      3. Select Add to save the assignment.

      4. Repeat the previous steps if you want to map multiple MARC fields to a single local field. Note that you cannot map more than 20 fields to a single local field.

        Multiple MARC Fields Mapped to a Local Field

        Multiple MARC Fields Mapped to a Local Field
    5. If you are using the Normalization Rules mapping method, configure the MARC21 Normalization RulesUNIMARC Normalization Rules, CNMARC Normalization Rules, and DC Normalization Rules sections as needed.

      Select Normalization Rules to Edit

      Select Normalization Rules to Edit
      1. Depending on the source record's MARC format and type of local field (display or search/facet), edit the following normalization rule rows to display the normalization rules for the local field:

        • MARC21 normalization rule for display – This option enables you to map any MARC21 field to a local display field and overrides any mappings defined in the MARC21 Fields section. No re-indexing is required for local display fields.

        • MARC21 normalization rule for search and facet – This option enables you to map any MARC21 field to a local search and facet field. To test your normalization rules immediately without having your data re-indexed, see Testing Normalization Rules for Local Search and Facet Fields.

          • This option is not applicable to local fields that do not support custom normalization rules for search/facets. For more information, see Configuring Local Search and Facet Fields for Primo VE.

          • In addition, new and modified normalization rules require you to open a Support ticket to have either a set of records or all records re-indexed.

        • UNIMARC normalization rule for display – This option enables you to map any UNIMARC field to a local display field and overrides any mappings defined in the UNIMARC Fields section. No re-indexing is required for local display fields.

        • UNIMARC normalization rule for search and facet – This option enables you to map any UNIMARC field to a local search and facet field. To test your normalization rules immediately without having your data re-indexed, see Testing Normalization Rules for Local Search and Facet Fields.

          • This option is not applicable to local fields that do not support custom normalization rules for search/facets. For more information, see Configuring Local Search and Facet Fields for Primo VE.

          • In addition, new and modified normalization rules require you to open a Support ticket to have either a set of records or all records re-indexed.

        • CNMARC normalization rule for display – This option enables you to map any CNMARC field to a local display field and overrides any mappings defined in the CNMARC Fields section. No re-indexing is required for local display fields.

        • CNMARC normalization rule for search and facet – This option enables you to map any CNMARC field to a local search and facet field. To test your normalization rules immediately without having your data re-indexed, see Testing Normalization Rules for Local Search and Facet Fields.

          • This option is not applicable to local fields that do not support custom normalization rules for search/facets. For more information, see Configuring Local Search and Facet Fields for Primo VE.

          • In addition, new and modified normalization rules require you to open a Support ticket to have either a set of records or all records re-indexed.

        • DC normalization rule for display – This option enables you to map any DC field to a local display field. No re-indexing is required for local display fields.

        • DC normalization rule for search and facet – This option enables you to map any DC field to a local search and facet field. To test your normalization rules immediately without having your data re-indexed, see Testing Normalization Rules for Local Search and Facet Fields.

          • This option is not applicable to local fields that do not support custom normalization rules for search/facets. For more information, see Configuring Local Search and Facet Fields for Primo VE.

          • In addition, new and modified normalization rules require you to open a Support ticket to have either a set of records or all records re-indexed.

        Example of MARC21 Normalization Rules for Local Search and Facet Field

        Example of MARC21 Normalization Rules for Local Search and Facet Field
        • Primo VE provides a normalization template to assist in the creation of the field's normalization rule.

        • For each MARC field that you are mapping, you must specify a subfield.

        • Saving a normalization rule (including a local field's default template) and then applying it will override Bibliographic Field mapping.

      2. Update the normalization rule as needed, and then select Save to save your changes to the local field's normalization rules. For more information, see Configuring Normalization Rules for Display and Local Fields.

    6. On the Define a Local Field page, select Save to create the local field and to return to the Manage Display and Local Fields page.

    7. Select Apply rules on the Manage Display and Local Fields page to enable your normalization rule changes.

      Normalization rules created for local search and facet fields require you to open a Support ticket to have your records re-indexed. Because a full re-indexing is time-consuming, you may want to create a set of records in Alma that contain the relevant metadata condition (for example, 950 $a exists) and include the name of that set in your ticket. For more information on how to create an Alma bibliographic set based on metadata elements, see Managing Search Queries and Sets.

    8. To utilize a new local field, refer to the following procedures to configure it in the view:

    Modifying the Normalization Rules for a Display Field

    For MARC21, UNIMARC, CNMARC, and DC formats only, the Define a Display Field page enables you to add or modify the normalization rules for the following out-of-the-box display fields: Contents, Contributor, Coverage, Creation Date, Description, Dissertation, Edition, Format, Frequency, Genre, Identifier, Includes, Is Part Of, Language, MESH subjects, Other title, Publisher, Related Work, Related titles, Rights, Series, Subject, Title, Uniform title, and Vernacular title.

    Define a Display Field Page

    Define a Display Field Page
    To add a display field:
    1. On the Manage Display and Local Fields page (Configuration Menu > Discovery > Display Configuration > Manage Display and Local Fields), select Add display field from the Add field drop-down list to open the Define a Display Field page.

    2. Select an out-of-the-box display field from the Field to edit drop-down list.

    3. For the Creator and Contributor fields only, select the Use Translations option if you want to look up translations defined in the Local Field Translate code table for the display field's values. For more information, see Configuring Translations for Display and Facet Fields. If no translation is provided, Primo VE will display the value provided by the source record.

    4. Depending on your supported formats, edit the normalization rule row in the following sections to display the configured rules for the display field: MARC21 normalization rules for display, UNIMARC normalization rules for display, CNMARC normalization rule for display, and DC normalization rule for display.

      Out-of-the-Box MARC21 Normalization Rule for Edition Field

      Out-of-the-Box MARC21 Normalization Rule for Edition Field
    5. When you are finished with the normalization rule, you can either save your changes (Save), cancel changes for the current session (Close), or restore the out-of-the-box normalization rule (Restore Default)

    6. Update the normalization rule as needed. For more information, see Configuring Normalization Rules for Display and Local Fields.

    7. Select Save to create the display field and to return to the Manage Display and Local Fields page.

    8. If you have created or modified existing normalization rules for a display field, select Apply rules on the Manage Display and Local Fields page to update your records.

    Testing Normalization Rules for Local Search and Facet Fields

    Prior to applying new or modified normalization rules to the view, you can test a local search and facet field's normalization rules. This functionality is applicable to the following source formats only: MARC21, UNIMARC, CNMARC and DC. 

    For information on how to add a local search and facet field, see Adding a Local Field and Configuring Local Search and Facet Fields for Primo VE.

    To perform tests on normalization rules for local search and facet fields:

    • The normalization rule must have a blank line below the end statement. The blank line does not affect indexing and can be left in the file.

    • If a normalization rule contains a regular expression with string literals, you must escape the character (such as a parenthesis) with four backslashes instead of two backslashes: For example:

       

      rule "Primo VE Marc - Lsr10"
      when
      MARC is "035"."a" 
      AND MARC."035"."a" match \\\\(MiAaPQ\\\\).*
      then
      set TEMP"1" to MARC."035"."a"
      remove substring using regex (TEMP"1",\\\\(MiAaPQ\\\\))
      create pnx."search"."lsr10" with TEMP"1"
      end

       

       

      After you have completed your tests, make sure that you use only two backslashes in your normalization rules. For example:

       

      rule "Primo VE Marc - Lsr10"
      when
      MARC is "035"."a" 
      AND MARC."035"."a" match \\(MiAaPQ\\).*
      then
      set TEMP"1" to MARC."035"."a"
      remove substring using regex (TEMP"1",\\(MiAaPQ\\))
      create pnx."search"."lsr10" with TEMP"1"
      end

       

    To test a normalization rule:
    1. On the Manage Display and Local Fields page (Configuration Menu > Discovery > Display Configuration > Manage Display and Local Fields), edit your local search and facet field. The Define a Local Field page opens.

      PVE_TestNormRules_LocalField_Search_Facets.png

      Normalization Rule Row for Search and Facets - MARC21 Example
    2. In the row that is associated with a specific format and its search and facet normalization rules (for example, MARC21 normalization rule for search and facet), select the Test row option. The Test Normalization Rules dialog box opens.

      Test Normalization Rules Dialog Box

      Test Normalization Rules Dialog Box
    3. In the dialog box, enter an MMS ID in the first field using any of the following methods:

      • Select the Recent icon PVE_RecentIcon.png and then select a previously entered MMS ID from the list.

      • Select the Quick Pick icon PVE_QuickPickIcon.png, perform an Alma repository search, and then select a record from the results list.

      The results of the test appear in the Normalized Local Field box. In the following example, the MARC 385 $a subfield is mapped to the lsr03 local search and facet field:

      Example Test of Local Search and Facet Field

      Example Test of Local Search and Facet Field

    Configuring Translations for Display and Facet Values

    The Local Field Translate code table (Configuration Menu > Discovery > Display Configuration > Labels) defines translations for Display field values (Creator and Contributor only) and all local facet and display field values.

    PVE_LocalFieldTranslate2.png

    Local Field Translate Code Table

    Primo VE Normalization Suite > Translations for Local Display Fields (4 min)

    Primo VE checks this table only when the Use Translations option is selected on either the Define a Local Field page (see Adding a Local Field) or the Define a Display Field page (see Modifying the Normalization Rules for a Display Field). If no match is found in this code table, Primo VE uses the values supplied in the source record.

    By default, Primo VE uses the union of all subfield values to match codes defined in this code table to return a translation. For example, if a source record includes the MARC field 541 $aLAN $bINT $cBIO, all subfield values LAN, INT, and BIO are merged and used to match a single value in this code table. If you want to match specific subfield values, you will need to add the append translation command to all drools routines defined for the display field or local display or search/facet field. In the following example, the union of the values only from subfields $b and $c are compared against this code table to return a translation:

    rule "Primo VE - Lds02"

          when

                MARC.”541” has any "a,b,c"

          then

                create pnx."display"."lds02" with MARC ”541”subfields "a,b,c" append translation “b,c”

    end

    For local display and facet fields only:

    • If the local field does not support drools routines for search/facets (only display), the append translation mapping for display fields also applies to facets if the Enable field for facet field is selected.

    • If the local field supports drools routines for both display and search/facets, ensure that you add the append translation command to the drools routines for both display and search/facets to enable the enhanced subfield mapping.

    To create a translation for a display or local field's value:
    1. Edit the Local Field Translate code table (Configuration Menu > Discovery > Display Configuration > Labels). The first time that you modify the table, you must select Customize to edit the table.

    2. From the Filter drop-down list, select English. The English version is used as the default for other languages if they are not defined.

    3. Select Add Row to open the Add Row dialog box.

      1. Enter the following fields:

        • Code  – Enter the value that you are mapping from the source record's MARC subfield. For example, if you are mapping 907 $a 610medicineAndHealth from the source record, enter 610medicineAndHealth.

        • Description – Enter the English translation. For example, Medicine and Health.

      2. Select Add Row to save your new mapping row and to return to the code table's list of rows.

    4. From the Filter drop-down list, select the language to which you want to translate the value. For example, select Spanish.

    5. In the Translation field, enter the specified language's translation. For example, enter Medicina y Salud.

    6. Select Save to save your changes to the code table. The first time that you add a value to the table, you must select Customize.

    • Was this article helpful?