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. Knowledge Articles
    4. How can I delete a specific record from Primo?

    How can I delete a specific record from Primo?

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Question
    2. Answer
    3. Additional Information
      1. Delete Record Template
    • Product: Primo
    • Relevant for Installation Type: Local

    Question

    How can I delete a specific record from Primo?

    Answer

    For every Primo Data Source that you have records to delete:

    1. Log on to your Primo BO server and create a delete file using the template in Additional Information.
    2. Replace SOURCERECORDID with the value from control/sourcerecordid of the PNX to be deleted.
    3. (Optional) To delete additional records
      1. Copy everything between the lines that start with the phrase "Copy everything."
      2. Paste what was copied above the line that starts with the phrase "Copy everything above this line."
      3. Replace SOURCERECORDID_2 with the value from control/sourcerecordid from another PNX record to be deleted
    4. Replace all instances of YYYY-MM-DD with the current year, month, and day.
    5. After creating the file,  zip (compress) the file into the Harvesting File Format selected on "Define Pipe" screen for the pipe (tar.gz,.zip, etc.)
    6. Go to Primo Back Office, update the Pipe configuration to COPY method, and harvest the zipped file created in Step 5.
    7. Run indexing_and_hotswapping job, so the record is physically removed from Primo Front End and database.
    8. Check results in PNX viewer and Front End to verify the records are deleted.

    Additional Information

    The template will only work for Data Sources that use the OAI or Static OAI File Splitter. For different data source, using a different File Splitter other than OAI, please open a case for support.

    See also Removing deleted ALEPH records from Primo

    Delete Record Template
    <?xml version="1.0"  encoding="UTF-8"?>
    <OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/
            http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd">
    	<ListRecords xmlns="">
    		<record>
    			<header status="deleted">
    				<identifier>SOURCERECORDID</identifier>
    				<datestamp>YYYY-MM-DD</datestamp>
    			</header>
    			<metadata/>
    		</record>
    <!-- Copy everything below this line to delete additional records
    		<record>
    			<header status="deleted">
    				<identifier>SOURCERECORID_2</identifier>
    				<datestamp>YYYY-MM-DD</datestamp>
    			</header>
    			<metadata/>
    		</record>
    	Copy everything above this line to delete additional records -->
    	</ListRecords>
    </OAI-PMH>
    


     


    • Article last edited: 09-Aug-2018
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to define default tab for service page links?
      • How to determine what codes to enter for the Vendor EDI Attributes?
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Community Content Type
      How To
      Content Type
      Knowledge Article
      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