Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. X-service update_doc, doc_action=UPDATE-CHK

    X-service update_doc, doc_action=UPDATE-CHK

    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: Aleph
    • Product Version: 22

    Question

    We noticed that using X-service update_doc, doc_action=UPDATE-CHK the service is updating the DB in case there are no errors at all. Is this the desired behaviour?

    Answer

    Yes, indeed X-service update_doc, doc_action=UPDATE-CHK performs an update in case there are no errors related to the document.

    The purpose of this is, that via the X-service you can simulate the behaviour of Cataloging GUI when staff is pressing the "Save on Server"-button:
    First the record is sent with doc_action=UPDATE-CHK to the server. If there are no errors the records is directly saved on server (this behaviour is the same in GUI and X-server). If there are errors the staff gets a list of errors and in GUI has the chance to ignore non-mandatory errors. Aleph in this case is sending the record with doc_action=UPDATE to server so that it is clear that non-mandatory errors should be ignored.

    Therefore using doc_action = UPDATE-CHK and doc_action=UPDATE the same functionality can be used in X-service.

    Additional Information

    There currently is no doc_action that can be used to perform checks only.


    • Article last edited: 6/5/2014
    View article in the Exlibris Knowledge Center
    1. Back to top
      • X-Service update_bor: Use of last-bor-id
      • X-Service, bor_auth: Filter by sublibrary possible?
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 22
      2. contype:kba
      3. Prod:Aleph
      4. Type:Q&A
    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