Hi Andrea,

    An quick question about resource_type_id:
    So id = 1 is the bitstream, id=2 is the item, id=3 is the Collection,
id=4 is the Community, id = 6 is the groups, and what about e-person? What
is it id? Did I miss anything else?

Thanks in advance
Luiz

On Wed, May 25, 2016 at 10:08 PM, Andrea Schweer <[email protected]>
wrote:

> Hi Pedro,
>
> On 25/05/16 21:41, Pedro Amorim wrote:
>
> Using DSpace 5.4.
> I have a question regarding bitstream bundles, I see this entry in
> dspace.cfg:
> xmlui.bundle.upload = ORIGINAL, METADATA, THUMBNAIL, LICENSE, CC-LICENSE
>
> But I know that DSpace also has the TEXT bundle for bitstreams. Also, I
> know each bundle fulfills a different purpose.
>
> My questions are:
> 1) Where can one see the full list of bitstream bundles available?
>
>
> You can't really, other than directly in the database:
>
> select distinct text_value from metadatavalue where resource_type_id = 1
> and metadata_field_id = (select metadata_field_id from
> metadatafieldregistry where metadata_schema_id = 1 and element = 'title'
> and qualifier is null);
>
> 2) How can one define new customized bitstream bundles, for example,
> PAGEDPDF and ISSUEDPDF?
>
>
> It depends what you want to use them for. If you want to create bundles
> programmatically (eg in a curation task), just specify that bundle name in
> your code. If you want to do this in the user interface, this is how it
> works in XMLUI -- I don't know whether / how this is possible in JSPUI:
>
>
>    - add your custom bundle name to the xmlui.bundle.upload list in
>    dspace.cfg
>    - for each, add a corresponding entry to messages.xml
>    ([dspace-src]/dspace-xmlui/src/main/webapp/i18n/messages.xml) or whichever
>    messages_xy.xml you may be using in a non-English repository for the key
>    xmlui.administrative.item.AddBitstreamForm.bundle. + bundle name -- for
>    example, if you have a bundle called PAGEDPDF, add
>    <message
>    key="xmlui.administrative.item.AddBitstreamForm.bundle.PAGEDPDF">Paged
>    PDF</message>
>
> cheers,
> Andrea
>
> --
> 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 Community" 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-community.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" 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-community.
For more options, visit https://groups.google.com/d/optout.

Reply via email to