Uploading Digital Objects Via Service ADAM-02 Yoel Kortick

Uploading Digital Objects Via Service ADAM-02 Yoel Kortick

<p> How to control the “Show in OPAC” flag when uploading digital objects via service ADAM-02</p><p>Yoel Kortick</p><p>Originally SI 16384-24998</p><p>Question: Our customer should upload in the system a lot of records using p_adam_02. He needs to know how to set the SHOW in OPAC flag. These are the questions he asked:</p><p>What is the Z403 field that contains this flag? If not in z403, where is this flag is stored? How could I upload this value with p_adam_02 service?</p><p>Short Answer In order to set the “SHOW in OPAC” flag as checked (Y) or not checked (N) you can set the following variable in the xml input file of the ADAM-02 service.</p><p>It can be either <z403-display-link>Y</z403-display-link> Or <z403-display-link>N</z403-display-link></p><p>Long Answer</p><p>In order to check this do as follows</p><p>ONE</p><p>Add two digital objects to a bibliographic record. Here we do it for USM01 system number 59166. The first digital object has SHOW in OPAC flag = Y. The second digital object has SHOW in OPAC flag = N. </p><p>This one has it This one does not</p><p>TWO</p><p>Look at the Z403 via UTIL F 4 for each of these objects:</p><p>The first one has this</p><p>02 z403_access_rights \ 03 display_link ...... Y 03 display_code ...... 03 expiry_date ...... 00000000 03 guest ...... Y</p><p>The second one has this:</p><p>02 z403_access_rights \ 03 display_link ...... N 03 display_code ...... 03 expiry_date ...... 00000000 03 guest ...... Y</p><p>THREE</p><p>Look at the Z403 via SQL and see that the first one (with view rights) has Z403_DISPLAY_LINK Y Look at the Z403 via SQL and see that the second one (without view rights) has Z403_DISPLAY_LINK N usm01@ALEPH1> select Z403_DISPLAY_LINK from Z403 where Z403_REC_KEY = '000059166000001'; **** Hit return to continue ****</p><p>Z - Y</p><p>1 row selected. usm01@ALEPH1> select Z403_DISPLAY_LINK from Z403 where Z403_REC_KEY = '000059166000002'; **** Hit return to continue ****</p><p>Z - N</p><p>1 row selected.</p><p>FOUR</p><p>Make a directory $data_root/import_files/hello and put two JPG files there. Run ADAM-01 on this record, so we get an input file for ADAM-02</p><p>Change input file so it has this:</p><p>First record: <datafield tag="245" ind1=" " ind2=" "> <subfield code="a">Bentzi riding</subfield> </datafield> <z403-f-filename>bike_trip_bentzi_ride__000018237.JPG</z403-f-filename> <z403-original-file-name>bike_trip_bentzi_ride_.JPG</z403-original- file-name> <z403-object-extension>JPG</z403-object-extension> <z403-display-link>Y</z403-display-link></p><p>Second record: <datafield tag="245" ind1=" " ind2=" "> <subfield code="a">View during bike trip</subfield> </datafield> <z403-f-filename>bike_trip_view_1_000018238.JPG</z403-f- filename> <z403-original-file-name>bike_trip_view_1.JPG</z403- original-file-name> <z403-object-extension>JPG</z403-object-extension> <z403-display-link>N</z403-display-link></p><p>Important note: The first record, with title “Bentzi riding”, should have show in OPAC Y The second record, with title “View during bike trip”, should have show in OPAC N</p><p>FIVE</p><p>Upload the file via adam-02</p><p>SIX</p><p>See two new records:</p><p>The record with title “Bentzi riding” should have show in OPAC Y The record with title “View during bike trip” show in OPAC N</p><p>The new systems numbers are: il-aleph02-18(1) USM01-YOELK>>cat $alephe_scratch/hello_sys 000059167USM01 000059168USM01</p><p>First record DOES have show in OPAC Second record DOES not have show in OPAC SEVEN</p><p>When a user views 59167 he can see the digital object. When a user views 59618 he does not see the digital object</p><p>The object is however visible via the GUI </p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    8 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us