<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I do it exactly the same way Dallas does (thanks for linking your code just now, by the way!), only in Ruby instead of Perl. -k<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> archivesspace_users_group-bounces@lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org]
<b>On Behalf Of </b>Callahan, Maureen<br>
<b>Sent:</b> Friday, August 07, 2015 12:14 PM<br>
<b>To:</b> Archivesspace Users Group<br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] attaching digital objects to archival objects<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">I’m really thankful for the thoughtful replies and bummed out that this won’t be easy. Kevin, I’m looking at this:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">What I ended up having to do was, once the digital object had been created, grab its URI, download the JSON for the original archival object, attach the digital object URI as a linked instance, and re-upload the new JSON through the backend.<o:p></o:p></p>
</blockquote>
</div>
</div>
</blockquote>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">What do you mean when you say that you attach the digital object URI as a linked resource here? Do you have examples of this process that you could send me?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">My feature request finger is itching… <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Maureen<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">On Aug 7, 2015, at 2:08 PM, Nathan Stevens <<a href="mailto:ns96@nyu.edu">ns96@nyu.edu</a>> wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Kevin is correct, this is the way to do this using the REST APIs. NYU, is also going to have to tackle this issue since they make extensive use of an AT plugin which does this. I was thinking of creating a desktop version of the AT plugin
that works with ASpace, but time or the budget to do so is not currently there. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Fri, Aug 7, 2015 at 2:02 PM, Kevin Clair <<a href="mailto:Kevin.Clair@du.edu" target="_blank">Kevin.Clair@du.edu</a>> wrote:<o:p></o:p></p>
<p class="MsoNormal">Hi Maureen,<br>
<br>
I've been working on a plugin that allows us to create new digital objects based on the metadata in an existing item record, to aid in our digitization workflow, and this is one of the problems it sets out to fix for us. What I ended up having to do was, once
the digital object had been created, grab its URI, download the JSON for the original archival object, attach the digital object URI as a linked instance, and re-upload the new JSON through the backend. As far as I know that's the only solution, unless it's
possible to write a plug-in with a backend controller that handles all those steps in one go.<br>
<br>
We also can't do this in batches yet, it only allows for linking single digital objects to single items.<br>
<br>
The code is here, with huge caveats that it's written specifically for our workflows and isn't actually in production at Denver yet:
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_duspeccoll_digitized-5Fobject&d=AwMFaQ&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=JgH2YCQ8D3P9-Lm_x4bv3d2CZBYlbx6hxnLFHtfovi8&m=hInqqLnf-60PnmBDeh7I3Kwgy-EPNE_tvp1rzNImRaw&s=ngoF2sPnkYOh89JAmQh_uSlA3cO1tK9PbfJC7Da221A&e=" target="_blank">
https://github.com/duspeccoll/digitized_object</a> -k<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
-----Original Message-----<br>
From: <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> [mailto:<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>]
On Behalf Of Callahan, Maureen<br>
Sent: Friday, August 07, 2015 11:45 AM<br>
To: Archivesspace Users Group<br>
Subject: [Archivesspace_Users_Group] attaching digital objects to archival objects<br>
<br>
Hi everyone,<br>
<br>
This may be a dumb question. I’m trying to wade in from the shallow end.<br>
<br>
I have a list of digital objects that I want to create in ArchivesSpace and a list of which archival objects they should become instances of. I’m sitting down to write a script to start doing this work, and I’m wondering if this is possible — if there’s actually
an endpoint that will let me do this. I see that I can post children digital objects to already-existing digital objects (POST /repositories/:repo_id/digital_object_components/:id/children), but I don’t see an explicit way to add digital objects as instances
of archival objects.<br>
<br>
Thoughts? How would others approach this work?<br>
<br>
Maureen<br>
_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lyralists.lyrasis.org_mailman_listinfo_archivesspace-5Fusers-5Fgroup&d=AwMFaQ&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=JgH2YCQ8D3P9-Lm_x4bv3d2CZBYlbx6hxnLFHtfovi8&m=hInqqLnf-60PnmBDeh7I3Kwgy-EPNE_tvp1rzNImRaw&s=W2RYENC9A3pZfY24DgqHTXH376cGs5UiZJqFIO49f8I&e=" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lyralists.lyrasis.org_mailman_listinfo_archivesspace-5Fusers-5Fgroup&d=AwMFaQ&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=JgH2YCQ8D3P9-Lm_x4bv3d2CZBYlbx6hxnLFHtfovi8&m=hInqqLnf-60PnmBDeh7I3Kwgy-EPNE_tvp1rzNImRaw&s=W2RYENC9A3pZfY24DgqHTXH376cGs5UiZJqFIO49f8I&e=" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<p class="MsoNormal">Nathan Stevens<br>
Programmer/Analyst<br>
Digital Library Technology Services<br>
New York University<br>
<br>
1212-998-2653<br>
<a href="mailto:ns96@nyu.edu" target="_blank">ns96@nyu.edu</a><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lyralists.lyrasis.org_mailman_listinfo_archivesspace-5Fusers-5Fgroup&d=AwICAg&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=JgH2YCQ8D3P9-Lm_x4bv3d2CZBYlbx6hxnLFHtfovi8&m=hInqqLnf-60PnmBDeh7I3Kwgy-EPNE_tvp1rzNImRaw&s=W2RYENC9A3pZfY24DgqHTXH376cGs5UiZJqFIO49f8I&e">https://urldefense.proofpoint.com/v2/url?u=http-3A__lyralists.lyrasis.org_mailman_listinfo_archivesspace-5Fusers-5Fgroup&d=AwICAg&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=JgH2YCQ8D3P9-Lm_x4bv3d2CZBYlbx6hxnLFHtfovi8&m=hInqqLnf-60PnmBDeh7I3Kwgy-EPNE_tvp1rzNImRaw&s=W2RYENC9A3pZfY24DgqHTXH376cGs5UiZJqFIO49f8I&e</a>=
<o:p></o:p></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>