[Archivesspace_Users_Group] Spawn Resource from Accession
Chris Fitzpatrick
Chris.Fitzpatrick at lyrasis.org
Mon Aug 25 10:13:08 EDT 2014
Hi Jaime,
Have a look at :
https://github.com/archivesspace/archivesspace/blob/master/common/schemas/accession.rb
https://github.com/archivesspace/archivesspace/blob/master/common/schemas/resource.rb
Essentially all the properties from accession get applied to the resource. If there's a property that resource doesn't have defined, it gets dropped ( something like "diposition" )
Exceptions are:
content_description ( gets put into a multipart note) and condition_description (gets put into a single part note) and the id's, which are not transferred over at all.
Does that make sense?
b,chris.
Chris Fitzpatrick | Developer, ArchivesSpace
Skype: chrisfitzpat | Phone: 918.236.6048
http://archivesspace.org/
________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Jaime Margalotti <jmargalo at udel.edu>
Sent: Monday, August 25, 2014 3:41 PM
To: archivesspace_users_group at lyralists.lyrasis.org
Subject: [Archivesspace_Users_Group] Spawn Resource from Accession
Is there a list of which Accession fields spawn into a Resource? I know not all of them have (or should have) an analogue in the Resource record. We're trying to determine which fields of the Accession we will use and this will potentially impact it.
Thanks,
Jaime
--
Jaime L. Margalotti
Senior Assistant Librarian
Manuscripts and Archives Department University of Delaware Library
Newark, DE 19717-5267
302-831-0554
jmargalo at udel.edu<mailto:jmargalo at udel.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20140825/662c55be/attachment.html>
More information about the Archivesspace_Users_Group
mailing list