[librecat-dev] hook for after file is uploaded

Patrick Hochstenbach Patrick.Hochstenbach at UGent.be
Thu May 17 13:48:41 CEST 2018


The publication-new hook is executed when a user filling in a new publicaton from scratch. You probably want to look at the publication-update hook …this is when the changes are written back to the disks/databases.

The file_name of a particular uploaded file to a record is not indexed by default in the search index (you can do this in a local layer configuration if you want). Or,
use a Linux ‘find’ command in the configured filestore.default.options.root directory


> On 17 May 2018, at 13:02, Jonathan NORRIS <jnorris at ist.ac.at> wrote:
> Hello,
> About the 'publication-new: after-fixes' hook, will this be ran after the the publication file has been uploaded to the file system?
> And also, is there a way in librecat to query for the file system location of a publication's file?
> Thanks,
> Jonathan
> IST Austria
> _______________________________________________
> librecat-dev mailing list
> - send list mails to librecat-dev at lists.uni-bielefeld.de
> - to unsubscribe or change options, visit https://lists.uni-bielefeld.de/mailman2/cgi/unibi/listinfo/librecat-dev
> - project website: http://librecat.org/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.uni-bielefeld.de/mailman2/unibi/public/librecat-dev/attachments/20180517/7900fecd/attachment.asc>

More information about the librecat-dev mailing list