Difference between revisions of "Eprint fields automatic.pl"

From EPrints Documentation
Jump to: navigation, search
(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…')
 
m (fixed typo)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
This file defines a function which runs EVERY time the eprint is updated in the workflow.
+
{{dirs}}
 +
{{cfgd}}
 +
 
 +
'''eprint_fields_automatic.pl''' 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.
 
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.
+
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 recommitted to remove the edit lock.

Latest revision as of 00:06, 31 January 2022

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


Back to cfg.d

eprint_fields_automatic.pl 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 recommitted to remove the edit lock.