|
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: https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-api/src/main/java/org/dspace/submit/step/InitialQuestionsStep.java#L229 something like this might work: itemService.addMetadata(context, item, MetadataSchema.DC_SCHEMA, "contributor", "author", null, name); cheers, Andrea On 08/11/2017 10:35 AM, Saby wrote:
-- Dr Andrea Schweer Lead Software Developer, ITS Information Systems The University of Waikato, Hamilton, New Zealand +64-7-837 9120-- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout. |
- [dspace-tech] assign dc.autor = eperson.lastname in sub... Francisco
- Re: [dspace-tech] assign dc.autor = eperson.lastnam... Andrea Schweer
- Re: [dspace-tech] assign dc.autor = eperson.las... Francisco
- Re: [dspace-tech] assign dc.autor = eperson... Francisco
- Re: [dspace-tech] assign dc.autor = epe... Andrea Schweer
- Re: [dspace-tech] assign dc.autor ... Andrea Schweer
- Re: [dspace-tech] assign dc.au... Andrea Schweer
- Re: [dspace-tech] assign dc.au... Luciano Koenigkan
