Enable curation task in submit form

14 views
Skip to first unread message

Flavien M

unread,
Nov 25, 2019, 8:54:42 AM11/25/19
to DSpace Technical Support
Hello,

I am currently trying to configure the input form.
I would like that at the end of the entry of an item some fields are filled automatically.

Examples:
- dc.redaction.author: automatically put the name of the user who just typed the item;
- dc.redaction.datecreation: automatically set today's date.

If I understand correctly, in DSpace the way to reach my goal is to use the curation tasks.

I created a "/dspace/modules/additions/src/main/java/org/dspace/myproject/curate/AddMetadata.java" task.

But I did not understand how to activate this task.

Here are my questions:
- How to enable this task to run automatically at the end of an item?
- How to retrieve the name of the active user (the one who is entering) in the task?
- How to retrieve the date of the day in the task?

I use DSpace 5.10 and XMLUI.

PS : Sorry for my bad English this is not my native language.

Thank you in advance.
Flavien

Reply all
Reply to author
Forward
0 new messages