Hi Joseph, That "dmd" param can be passed via the commandline using the 'dspace packager' command (e.g. './dspace packager -t METS -o dmd=MODS'). You can see this parameter as an option if you type this on the commandline:
./dspace packager -t METS -h It can also be specified programmatically using the "PackageParameters" class. That's what the .getProperty("dmd") call is referencing in DSpaceMETSIngester here: https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/content/packager/DSpaceMETSIngester.java#L93 Unfortunately though, it looks like there's no way to currently tweak this via SWORD. SWORD initializes its own PackageParameter settings here but doesn't include anything for "dmd": https://github.com/DSpace/DSpace/blob/master/dspace-sword/src/main/java/org/dspace/sword/SWORDMETSIngester.java#L77 So, the only way (that I can see) to tweak this for SWORD, would be to add some custom Java code to the SWORDMETSIngester. Something along the lines of: params.addProperty("dmd",[value]); The only other option would be to change the "mets-ingester.package-ingester" for SWORD to use "AIP" format as the ingester (though I'm not sure how well that'd work). The AIP ingester defaults to using "DIM" first, then MODS, while the METS ingester looks for MODS first, then simple Dublin Core. - Tim On 4/24/2015 11:40 AM, Joseph Greene wrote: > Hi, > > I've seen in the documentation that it's possible to specify which metadata > section in the METS file gets used in a sword ingest (in > org.dspace.content.packagerDSpaceMETSIngester). I also came across this, > which describes its genesis: > > https://jira.duraspace.org/browse/DS-386 > > I've seen calls to getProperty("dmd") but I don't know where that 'dmd' > property resides -- dspace.cfg? another class calling DSpaceMETSIngester? > Psychic waves? > > Does anyone know how to set the primary <dmdSec>? > > On DSpace 1.8.2, SWORD server 1.0. > > Many thanks, > Joseph > > > Joseph Greene > Research Repository Librarian > James Joyce Library > University College Dublin > (353 0)1 716 7398 > joseph.gre...@ucd.ie > http://researchrepository.ucd.ie > > > > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech > List Etiquette: > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette