How can I add a local facet to Primo VE?
Answer
Local Primo VE facets can be added in one of two ways, using either the
- Bibliographic field method: this method supports the mapping of fields 09x, 490, 5XX, 69X, and 9XX and all their subfields. It does not require any re-indexing after defining a new field.
- Normalization rules method: this method uses custom normalization rules to map fields from the source records to local display and facet fields.
- Read more about which Adding a Local field option is best before proceeding
Using Bibliographic field method:
1. Add a Local Display Field:
- Go to Configuration>Discovery>Display Configuration>Manage Display and Local Fields
- Click Add Field>Add Local Field
- The Define Local Field screen displays
- Field to edit: [Select a field to use]
- Display Label*: [Type the label to display in Primo VE]
- Under Local Field Details check the boxes next to "Enable field for search" (if preferred) and "Enable field for facet"
- Click Add MARC21 Fields
- Select the local field
- Click Add
- Edit the MARC21 normalization rule for display:
- Click Edit from the ellipsis next to the norm rule
- Edit the rule and replace the XXX with the MARC field being used. See exampled below:
rule "Primo VE - Lds11"
when
MARC."694" has any "a"
then
create pnx."display"."lds11" with MARC "694" sub without sort "a"
end
- Click Save
- Click Save
2. Edit the Appropriate "Out-of-the-box" Display Field:
- Remain in Configuration>Discovery>Display Configuration>Manage Display and Local Fields
- Edit the out-of-the-box display field norm rules that will include the local field
- Add the display field if it does not already exist
- Click Add Field>Add Display Field
- Select the field
- Move to step 2
- Click Edit from the ellipses of the out-of-the-box display field
- Add a display norm rule for the field and 880-[field]. See examples below:
rule "Primo VE Display- Subject 694"
when
MARC."694" has any "a"
then
set TEMP"1" to MARC."694" subfields "a" delimited by " " remove substring using regex "\\.+$"
create pnx."display"."subject" with TEMP"1"
end
rule "Primo VE Display- Subject 880-694"
when
MARC."880" has any "a-u,w" AND
MARC."880"."6" match "694-.*"
then
set TEMP"1" to MARC."880" subfields "a-u,w" delimited by " " remove substring using regex "\\.+$"
create pnx."display"."subject" with TEMP"1"
end
- Click Save
- Click Back
- Add the display field if it does not already exist
3. Apply the Rules:
- Remain in Configuration>Discovery>Display Configuration>Manage Display and Local Fields
- Click Apply Rules
4. Configure Views:
- Go to Configuration>Discovery>Display Configuration>Configure Views
- Click Edit from the default view (repeat for any other views being used)
- Click on Full Record Services
- Click on the ellipsis next to details/Record details
- Choose Configure
- Click on Add Field and then choose Add Field again in the pop-up box
- Start typing the name of the field, choose the correct field and Add, then click Done
- Click on Brief Results
- Click Add Local Facet
- Select the local facet being used
- Click Add Local Facet
- Edit the local facet if necessary:
- Edit the number of values to display by using the drop-down menu
- Edit the sort type value to display by using the drop-down menu
- Edit the search profile slot to be used:
- Click Edit from the ellipses
- Select or deselect search scopes
- Click Done
- Use the arrows to move where the local facet will display
Using Normalization rules method:
1. Add a Local Field using Search and Facet Normalization Rules:
- Go to Configuration>Discovery>Other>Local Fields using Search and Facet Normalization Rules
- Click Add
- Select the local field or use the default. Only available local fields will display in list
- Click Add New Local Field
- This local field will be used in the following steps
2. Add a Local Display Field:
- Go to Configuration>Discovery>Display Configuration>Manage Display and Local Fields
- Click Add Field>Add Local Field
- The Define Local Field screen displays
- Field to edit*: [Select the local field selected in step 1]
- Display Label*: [Type the label to display in Primo VE]
- Under Local Field Details check the boxes next to "Enable field for search" (if preferred) and "Enable field for facet"
- Edit the display and search and facet norm rules:
- MARC21 normalization for display:
- Click Edit from the ellipses of the display norm rule
- Edit the rule and replace the XXX with the MARC field being used. See example below:
rule "Primo VE - Lds12"
when
MARC."694" has any "a"
then
create pnx."display"."lds12" with MARC "694" sub without sort "a"
end
- Click Save
- MARC21 normalization rule for search and facet:
- Click Edit from the ellipses of the display norm rule
- Edit the rule and replace the XXX with the MARC field being used. See example below:
rule "Primo VE Marc - Lsr12"
when
MARC."694" has any "a"
then
create pnx."search"."lsr12" with MARC "694" sub without sort "a"
end
-
Click Save
- MARC21 normalization for display:
-
Click Save
3. Apply the Rules:
- Remain in Configuration>Discovery>Display Configuration>Manage Display and Local Fields
- Click Apply Rules
4. Configure Views:
- Go to Configuration>Discovery>Display Configuration>Configure Views
- Click Edit from the default view (repeat for any other views being used)
- Click on Full Record Services
- Click on the ellipsis next to details/Record details
- Choose Configure
- Click on Add Field and then choose Add Field again in the pop-up box
- Start typing the name of the field, choose the correct field and Add, then click Done
- Click on Brief Results
- Click Add Local Facet
- Select the local facet being used
- Click Add Local Facet
- Edit the local facet if necessary:
- Edit the number of values to display by using the drop-down menu
- Edit the sort type value to display by using the drop-down menu
- Edit the search profile slot to be used:
- Click Edit from the ellipses
- Select or deselect search scopes
- Click Done
- Use the arrows to move where the local facet will display
5. Re-index records affected
- Re-index a set of records by choosing one of the below options:
- Opening a case with Ex Libris and provide them with the public set name
- NZ linked records can be re-indexed by SUNY Library Services staff. info@sunyolis.libanswers.com
- Share the set to the Network
- Provide the SLS Team with the set name shared to the NZ
Ex Libris Documentation: