Dear San-Tsai,
San-Tsai Sun wrote:
I have tried to do that by modfied the "Submit New File" action, but it
failed. The following is what I have done:
1. add an element name TEXT_LINKTEXT, marc code 8564__y
2. add TEXT_LINKTEXT element to the interface page of "Submit New File"
action (SVR).
3. try to submit a new file
You might be missing a step, which consists in updating your BibConvert
"target" template file (eg. DEMOARTcreate.tpl in
/opt/cds-invenio/etc/bibconvert/config/) to link the uploaded
description "TEXT_LINKTEXT" in the FFT:
FFT::REPL(EOL,)---<datafield tag="FFT" ind1=" " ind2=" "><subfield
code="a"><:curdir::curdir:>/files/DEMOART_FILE/<:DEMOART_FILE::DEMOART_FILE:></subfield><subfield
code="n"><:DEMOART_RN::DEMOART_RN:></subfield><subfield
code="d"><:TEXT_LINKTEXT::TEXT_LINKTEXT:></subfield></datafield>
Note that you must also refer to your element TEXT_LINKTEXT in your
BibConvert source template (eg. DEMOART.tpl) for the field to be
considered.
That is the usual way to deal with additional fields with WebSubmit.
I could upload an additional file, but the description is not appeared.
I also tried using marc code FFT__d, and this time it makes bibindex
error. Could anyone please let me know how should I do it and what I
have done wrong?
You certainly mean a BibUpload error. Can you tell us what error you
get? You can read the details in the logs of the failed task, by
selectinc the task in BibSched and pressing L (or/and l).
~ ~ ~
In any case the FFT technique will not let you *easily* add an action to
revise the description in case it is wrong. Unfortunately only the
latest yet-unreleased versions of CDS Invenio enable easy file
description revision.
BTW I am also preparing a HOW-TO guide about file management using
WebSubmit. Once a first draft is ready I should probably post it on this
mailing list so that experienced users could comment and share their
tips.
Best regards
--
Jerome Caffaro ** CERN Document Server ** <http://cds.cern.ch/>