I am doing dspace search project. Here I have created seperate item page. Now I have one problem. I am not able to retrieve collection name in in which item appears. Collection2item displays only collection id.Please help.
Asked
Active
Viewed 852 times
0
-
2any example code snap? It will help us – Vishal Zanzrukia Aug 03 '15 at 08:44
-
I don't get it, sorry Savio. Try to get to the concrete point on where you need help. – Victor Aug 03 '15 at 15:33
2 Answers
1
The collection name is stored in the collection table. It is linked to the item table via item.owning_collection
and collection2item
.
select collection.name
from collection
inner join item on owning_collection=collection_id
where item_id=1
-
The question is tagged [java]. Are you sure you got the topic? I guess this isn't Java code. – spongebob Aug 04 '15 at 10:32
-
1
Savio, thank you for clarifying that you are in DSpace 5.
The following code appears to document the migration of community.name from DSpace 4 to DSpace 5.
DSpace 5 introduced "metadata for all objects" and collection.name appears to be stored as a metadatavalue of "title".

terrywb
- 3,740
- 3
- 25
- 50