ࡱ >
q` 0 bjbjqPqP .0 : : ' ' ' ' , ,' 4 M l' ( ' ' ' ' o( o( o( ;M =M =M =M =M =M =M $ N h Q @ aM o( o( o( o( o( aM ' ' vM ) ) ) o(
' ' ;M ) o( ;M ) ) ) ' `' _ ' y(
) ;M M 0 M ) ZQ ( ZQ ) ZQ ) # o( o( ) o( o( o( o( o( aM aM })
o( o( o( M o( o( o( o( D HYPERLINK "http://www.exlibrisgroup.com" INCLUDEPICTURE "http://www.exlibrisgroup.com/template/images/company_logo.gif" \* MERGEFORMATINET
How to control the Show in OPAC flag when uploading digital objects
via service ADAM-02
Yoel Kortick
Originally SI 16384-24998
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:
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?
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.
It can be either
Y
Or
N
Long Answer
In order to check this do as follows
ONE
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.
This one has it
This one does not
TWO
Look at the Z403 via UTIL F 4 for each of these objects:
The first one has this
02 z403_access_rights \
03 display_link ...............Y
03 display_code ...............
03 expiry_date ................00000000
03 guest ......................Y
The second one has this:
02 z403_access_rights \
03 display_link ...............N
03 display_code ...............
03 expiry_date ................00000000
03 guest ......................Y
THREE
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 ****
Z
-
Y
1 row selected.
usm01@ALEPH1> select Z403_DISPLAY_LINK from Z403 where Z403_REC_KEY = '000059166000002';
**** Hit return to continue ****
Z
-
N
1 row selected.
FOUR
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
Change input file so it has this:
First record:
Bentzi riding
bike_trip_bentzi_ride__000018237.JPG
bike_trip_bentzi_ride_.JPG
JPG
Y
Second record:
View during bike trip
bike_trip_view_1_000018238.JPG
bike_trip_view_1.JPG
JPG
N
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
FIVE
Upload the file via adam-02
SIX
See two new records:
The record with title Bentzi riding should have show in OPAC Y
The record with title View during bike trip show in OPAC N
The new systems numbers are:
il-aleph02-18(1) USM01-YOELK>>cat $alephe_scratch/hello_sys
000059167USM01
000059168USM01
First record DOES have show in OPAC
Second record DOES not have show in OPAC
SEVEN
When a user views 59167 he can see the digital object.
When a user views 59618 he does not see the digital object
The object is however visible via the GUI
+ , - % s x $
\
b
h
i
+ 骠yuuudP &hQW+ h[Re 5CJ OJ QJ \^J aJ hQW+ h[Re CJ OJ QJ ^J aJ h[Re h[Re h[Re 5\ h|)e 5\ hfQ
h[Re h
5\ h*9P h
h|)e h|)e 5\ h|)e #h|)e B*
CJ OJ QJ ^J aJ ph j ,j h|)e B*
CJ OJ QJ U^J aJ ph j #h|)e B*CJ OJ QJ ^J aJ ph]]] ,j h|)e B*CJ OJ QJ U^J aJ ph]]] % %
[
\
i
A D o p q gd
gd[Re $a$gd|)e gd|)e + , @ A C D F Y Z o q } ~ ) > x ž֑֍uqqmqqqe]uq j4 h[Re Uj h[Re UhfQ
h[Re h[Re h
5\ h
h|)e h|)e 5\ h|)e )*h[Re h[Re 5CJ OJ QJ \^J aJ hQW+ h[Re CJ OJ QJ ^J aJ h[Re h[Re h[Re hfQ
h[Re 5CJ OJ QJ \^J aJ &hQW+ h[Re 5CJ OJ QJ \^J aJ )*hQW+ h[Re 5CJ OJ QJ \^J aJ $q } ~ B y z
>
d
gd[Re gd
<
=
H Y Z [ \ ] ^ F G p r 8 9 : H ӻӻ hQW+ hQW+ CJ OJ QJ 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