Hello Francisco,
This work for me in DSPACE 6.1:
public int doProcessing(Context context, HttpServletRequest request,
HttpServletResponse response, SubmissionInfo subInfo)
throws ServletException, IOException, SQLException,
AuthorizeException
{
Hi,
sorry, I haven't worked with DSpace 6 code. The code I posted should
work in DSpace 5. For DSpace 6, you probably need to go via the
itemService, have a look at the InitialQuestionsStep for how they're
setting the metadata value for dc.date.issued:
actually looking at the doProcessing method in InitialQuestionsStep,
you probably need
context.commit();
return STATUS_COMPLETE; // no errors!
at the end of the doProcessing method too
On 08/09/2017 06:22 PM, Andrea Schweer
wrote:
Hi,
I think it's as easy as this (5.x code, you may need to adjust for
6.x):
public class SubmitterAsAuthor extends AbstractProcessingStep {
@Override
public int doProcessing(Context context, HttpServletRequest request, HttpServletResponse response,
sorry
im working with dspace6 xmlui mirage2
El martes, 8 de agosto de 2017, 11:33:03 (UTC-3), Francisco escribió:
>
> Thanks Andrea for responding (and fast)
>
> I would need some example of how to reference the current user within java
> code to make assignments to the dc.author or
Thanks Andrea for responding (and fast)
I would need some example of how to reference the current user within java
code to make assignments to the dc.author or dc.publisher element
THANK YOU VERY MUCH AGAIN ;)
El martes, 8 de agosto de 2017, 0:06:32 (UTC-3), Andrea Schweer escribió:
>
> Hi,
Hi,
On 08/08/2017 01:55 PM, Francisco wrote:
want to automatic assign in current submission step
dc.autor take the value of current user (eperson.lastname +
eperson.firstname)
without ask
I'd recommend creating a custom non-interactive submission step that
does this work. You don't say
hi
want to automatic assign in current submission step
dc.autor take the value of current user (eperson.lastname +
eperson.firstname)
without ask
any idea ?
thanks
--
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe