Hello Ian,

you got to customize
[dspace-source]/dspace-api/src/main/java/org/dspace/workflow/WorkflowManager.java
In the method private static void notifyOfReject(Context c, WorkflowItem 
wi, EPerson e, String reason)
you can add an argument containing the metadata.

Then you got to customize the email template
[dspace-source]/dspace/config/emails/submit_reject to process the new 
argument.

Finally you got to rebuild and redeploy your application.


Hope that helps

Claudia Jürgen




Am 26.05.2011 10:47, schrieb Wellaway, Ian:
> Hi,
>
> I'd like to add the contents of a metadata field to the submit_reject email 
> template that gets sent out if an item in the workflow gets rejected.
>
> Any ideas how I could do this?
>
> Thanks
>
> Ian
>
> ------------
>
> Ian Wellaway
> Senior Web Services Developer
> Academic Systems
> Exeter IT
>
> Room 909, Laver Building
> University of Exeter
> EX4 4QE
> UK
>
> tel +44 1392 722852
>
>
>
>
> ------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
>
>
>
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
Claudia Juergen
Universitaetsbibliothek Dortmund
Eldorado
0231/755-4043
https://eldorado.tu-dortmund.de/

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to