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. Creating custom GUI services

    Creating custom GUI services

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Aleph
    • Product Version: 18.01

    Description:
    We want to create custom GUI services for Acquisitions and Cataloging, specifically running SQL scripts against the database and sending output to the $data_print or $data_scratch directory. Usually we do this in SQL but would like to make these scripts available in the GUIs. I have edited menu-acq.xml in the u-tree to add a service (priv-01); created .xml and .html files in alephe/pc_b_eng to create the dialog box; but the missing piece seems to be in aleph/proc in the a-tree. How does this piece work?

    Resolution:
    This is described in detail in the Custom Services 16[1].02.pdf document on the Doc Portal (under "ALEPH 500 Documentation " -- How To - Miscellaneous).

    [Old answer:] The required pieces are:
    ./pc_b_eng/p-priv-01.xml
    ./pc_b_eng/p-priv-01.html
    $aleph_proc/p_priv_01
    I suggest that the p_priv_01 proc be modeled after the p_acq_25 proc, which is another proc that executes sql (rather than executing a Cobol program "cobrun xxxx" -- as most of the GUI Services procs do).

    Though the SQL could be imbedded in this proc (or copied into it from the $aleph_proc), you may want to follow our convention of putting the SQL piece in the ./alephm/sql_stat directory (which is where the acq_stat_02_date_param.sql -- coming from the
    set file_name = "acq_stat_02_date_param"
    in p_acq_25 -- is.)

    Anyway, the critical statements are those like the
    source $aleph_proc/def_local_env
    which you can see in the p_acq_25.


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Creating commands for submitting jobs from command line or including in job_list
      • Creating HOL records adds additional subfields
    • Was this article helpful?

    Recommended articles

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