Eprint fields automatic.pl

From EPrints Documentation
Revision as of 16:32, 25 March 2015 by Alan.stiles@open.ac.uk (talk | contribs) (Created page with 'This file defines a function which runs EVERY time the eprint is updated in the workflow. You can use it to apply calculated values to fields based on other values entered on the…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This file defines a function which runs EVERY time the eprint is updated in the workflow. You can use it to apply calculated values to fields based on other values entered on the workflow - e.g. faculty affiliation of creators.

NOTE: this function runs when you save the eprint, when you change the current workflow stage and also when you cancel the workflow editing as the eprint is reloaded from the database and recommited to remove the edit lock.