Hello Luiz and Andrea, Thank you both for replying. I tried importing into a METS package with some digital objects mapped to ORIGINAL, others to METADATA and yet another group to "ISSUEPDF".
I was expecting an error of some sort complaining of no such bundle, but it successfully imported and the item shows the bundle "ISSUEPDF" with the respective objects. This helps me because my goal is to have the objects for each item organised with my own custom bundles so that later the REST API can expose them with such organisation. My question is: Is this good practice? Or should I expect some unexpected behaviours down the road? I tested the REST API and it's working fine. Still need to test if DSpace is extracting the text from these custom bundles but I think that's it. Has anyone done this before? How does it work? Thank you, Pedro Amorim 2016-05-26 22:36 GMT+00:00 Luiz dos Santos <[email protected]>: > Hi Andrea, > > > Thanks, for the link to the class. > > Best > Luiz > > On Thu, May 26, 2016 at 5:45 PM, Andrea Schweer <[email protected]> > wrote: > >> Hi Luiz, >> >> On 27/05/16 02:00, Luiz dos Santos wrote: >> >>> 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? >>> >> >> You can see the definitions here: >> https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/core/Constants.java#L20 >> >> You got it almost right :) >> >> bitstream = 0 >> bundle = 1 >> item = 2 >> collection = 3 >> community = 4 >> site = 5 >> group = 6 >> eperson = 7 >> >> >> 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.
