[dspace-tech] Enable curation task in submit form

2019-11-25 Thread Flavien M
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

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/9edefe9a-236b-4f4f-942d-364569057a9b%40googlegroups.com.


[dspace-tech] DSpace 5 with XMLUI enable curation task in submission form

2019-11-25 Thread Flavien M
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

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/825c03e8-a8c2-46dc-91a9-457392799822%40googlegroups.com.