WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org
View all threadsHi everyone,
I wanted to find out where the fields for the Object Hierarchy section
are defined for Cataloging records. When setting up a cataloging record
import, I usually set up an xml file based off of the documentation
here: https://wiki.collectionspace.org/display/DOC/Imports+Service+Home
. I also tried to create a cataloging record through collectionspace and
then took a look at the xml output from doing:
http://<hostname>:8180/cspace-services/collectionobjects/<csid>
Which normally lists off all of the schemas in the record, and their
fields. However in this list, I didn't see one for the Object Hierarchy
section (thinking there would be a schema for that, and the fields
"Broader object", "Broader object type", "Object component" and "Object
component type"). I tried searching through the whole collectionspace
directory on my server, but I couldn't find the schema definition. I was
wondering on maybe a sample xml that would set these fields for a
cataloging import?
Thank you,
Peter
Hi Peter, I'm pretty sure these are implemented as relationship
records (the same tables used to create relationships between
cataloging records and procedure records, though with different
values). I don't think we've imported these however. Hopefully this
gives you a place too start!.
Chris
On Jul 26, 2016, at 6:18 PM, Peter Tucker peter.tucker@granitehorizon.com wrote:
Hi everyone,
I wanted to find out where the fields for the Object Hierarchy section are defined for Cataloging records. When setting up a cataloging record import, I usually set up an xml file based off of the documentation here: https://wiki.collectionspace.org/display/DOC/Imports+Service+Home . I also tried to create a cataloging record through collectionspace and then took a look at the xml output from doing:
http://<hostname>:8180/cspace-services/collectionobjects/<csid>
Which normally lists off all of the schemas in the record, and their fields. However in this list, I didn't see one for the Object Hierarchy section (thinking there would be a schema for that, and the fields "Broader object", "Broader object type", "Object component" and "Object component type"). I tried searching through the whole collectionspace directory on my server, but I couldn't find the schema definition. I was wondering on maybe a sample xml that would set these fields for a cataloging import?
Thank you,
Peter
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
Relationship records can be queried via the Services REST APIs, much like
object, procedure, and authority term records. So by looking at several
samples of existing relationship records between hierarchical cataloging
records, you can likely obtain much of what you need for setting up imports
of such records:
https://wiki.collectionspace.org/display/DOC/Relationship+Service+RESTful+APIs
On Tue, Jul 26, 2016 at 7:51 PM, Christopher R. HOFFMAN <
chris_h@berkeley.edu> wrote:
Hi Peter, I'm pretty sure these are implemented as relationship
records (the same tables used to create relationships between
cataloging records and procedure records, though with different
values). I don't think we've imported these however. Hopefully this
gives you a place too start!.
Chris
On Jul 26, 2016, at 6:18 PM, Peter Tucker <
peter.tucker@granitehorizon.com> wrote:
Hi everyone,
I wanted to find out where the fields for the Object Hierarchy section
are defined for Cataloging records. When setting up a cataloging record
import, I usually set up an xml file based off of the documentation here:
https://wiki.collectionspace.org/display/DOC/Imports+Service+Home . I
also tried to create a cataloging record through collectionspace and then
took a look at the xml output from doing:
http://<hostname>:8180/cspace-services/collectionobjects/<csid>
Which normally lists off all of the schemas in the record, and their
fields. However in this list, I didn't see one for the Object Hierarchy
section (thinking there would be a schema for that, and the fields "Broader
object", "Broader object type", "Object component" and "Object component
type"). I tried searching through the whole collectionspace directory on my
server, but I couldn't find the schema definition. I was wondering on maybe
a sample xml that would set these fields for a cataloging import?