Hi Karolayne,

questions about collection templates seem to be a trend at the moment.

On Tue, May 28, 2013 at 2:54 PM, Karol Braun <[email protected]> wrote:

> I need to create a specific metadata template for all collections of a
> community, does anyone know how I can do?
>

You can't do that from the DSpace interface. DSpace can create one
collection template for each collection for you.

However, I see no reason why you couldn't do this using SQL, because the
template is just a normal item, so you could create it once and then just
add a reference to it for each collection where you want to use it.

Look at the "template_item_id" column of the "collection" table. This
should point to the "item_id" of a template item for that collection. That
template item would have the metadata values you need pre-filled. Please,
bear in mind that I never actually tried it and don't try it without doing
a full database backup first.


> I've tried to edit the item template in the web interface, but the
> metadata fields remain the same when I do a new submission.
>

All I can say is that I tried it and it works. When you log in as admin, go
to the collection, and create (or edit) the template, you can make a list
of fields and their values that will be prefilled. Then, when you submit to
that collection, you should see the fields pre-filled in th submission
forms.

In case it doesn't work, try also looking at the log to see if there are
any errors at that time.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to