<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I have command line access to the API, and I've had decent success using the API to do bulk updates and deletions. It's been great for when we notice something didn't import as we had expected/hoped.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I used the <a href="https://icantiemyownshoes.wordpress.com/2015/11/20/how-i-learned-to-stop-worrying-and-love-the-api/">API extensively when the processing status moved to an event </a>and we didn't want to manually add each one. </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I'm not an expert at it by any means, but I could answer questions for anyone who is new to the API and is interested in trying it!</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="font-family:arial,sans-serif">-- </span><br style="font-family:arial,sans-serif"><div class="gmail_signature" style="font-family:arial,sans-serif"><div dir="ltr"><div dir="ltr"><font size="2" face="arial, helvetica, sans-serif">Bria L. Parker</font><div><font size="2" face="arial, helvetica, sans-serif">Metadata Librarian</font></div><div><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0)"><font size="2" face="arial, helvetica, sans-serif">2200 McKeldin Library<span style="color:rgb(34,34,34)"><u></u><u></u></span></font></p><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0)"><font size="2" face="arial, helvetica, sans-serif">University of Maryland<span style="color:rgb(34,34,34)"><u></u><u></u></span></font></p><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0)"><font size="2" face="arial, helvetica, sans-serif">College Park, MD 20742-7011<span style="color:rgb(34,34,34)"><u></u><u></u></span></font></p><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0)"><font size="2" face="arial, helvetica, sans-serif"><a href="tel:%28301%29%20405-9067" value="+13014059067" target="_blank">(301) 405-9067</a><u></u><u></u></font></p><p style="margin:0in 0in 0.0001pt;color:rgb(0,0,0)"><span style="color:rgb(5,99,193)"><a href="mailto:blparker@umd.edu" target="_blank" style="color:rgb(149,79,114)"><font size="2" face="arial, helvetica, sans-serif">blparker@umd.edu</font></a></span></p></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 15, 2016 at 12:03 PM, Jason Loeffler <span dir="ltr"><<a href="mailto:j@minorscience.com" target="_blank">j@minorscience.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>In general, I'm interested to know more about how people currently perform bulk operations on ArchivesSpace objects, including record creation (without the RDE), bulk updates, deletions, etc. <br></div><div><br></div>Just curious if any of you have command line access to the server running your ArchivesSpace instance and are able to work with the API. Without it, you have to resort to workarounds which, though helpful, can be a little clunky and/or error prone.<div><br></div><div><div class="gmail_extra">It would be great to include a set of bulk operation tools in a future ArchivesSpace release. </div><div class="gmail_extra"><br clear="all"><div><div class="gmail-m_-8249052107616523915gmail_signature"><div dir="ltr"><div dir="ltr"><div><div><font size="2" face="garamond, serif" style="background-color:rgb(255,255,255)" color="#666666">Jason Loeffler</font></div><div><font size="2" face="garamond, serif" style="background-color:rgb(255,255,255)" color="#666666">Technology Consultant | </font><span style="color:rgb(102,102,102);font-family:garamond,serif">The American Academy in Rome</span></div><div><font size="2" face="garamond, serif" style="background-color:rgb(255,255,255)" color="#666666">Minor Science | Application Development & Metadata Strategy</font></div><div><font size="2" face="garamond, serif" style="background-color:rgb(255,255,255)" color="#666666">Brooklyn, New York</font></div></div><div><font size="2" face="garamond, serif" style="background-color:rgb(255,255,255)" color="#666666"><a href="mailto:jason@minorscience.com" target="_blank">jason@minorscience.com</a></font></div><div><font size="2" face="garamond, serif" style="background-color:rgb(255,255,255)" color="#666666"><a href="tel:(347)%20405-0826" value="+13474050826" target="_blank">(347) 405-0826</a></font></div><div><font size="2" face="garamond, serif" style="background-color:rgb(255,255,255)" color="#666666">minorscience (Skype)</font></div><div><br><br></div></div></div></div></div>
<br><div class="gmail_quote"><div><div class="gmail-h5">On Thu, Dec 15, 2016 at 10:07 AM, Noah Huffman <span dir="ltr"><<a href="mailto:noah.huffman@duke.edu" target="_blank">noah.huffman@duke.edu</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail-h5">
<div lang="EN-US">
<div class="gmail-m_-8249052107616523915gmail-m_-837248874828261762WordSection1">
<p class="MsoNormal"><span style="color:rgb(31,73,125)">Suzanne,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">In addition to Mark’s strategy (I’d never thought of that), here’s another way to batch delete components, especially if you need to search for them:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="gmail-m_-8249052107616523915gmail-m_-837248874828261762MsoListParagraph"><u></u><span style="color:rgb(31,73,125)"><span>1.<span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"times new roman"">
</span></span></span><u></u><span style="color:rgb(31,73,125)">Go to Browse>Resources<u></u><u></u></span></p>
<p class="gmail-m_-8249052107616523915gmail-m_-837248874828261762MsoListParagraph"><u></u><span style="color:rgb(31,73,125)"><span>2.<span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"times new roman"">
</span></span></span><u></u><span style="color:rgb(31,73,125)">Check the “show components” box<u></u><u></u></span></p>
<p class="gmail-m_-8249052107616523915gmail-m_-837248874828261762MsoListParagraph"><u></u><span style="color:rgb(31,73,125)"><span>3.<span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"times new roman"">
</span></span></span><u></u><span style="color:rgb(31,73,125)">Search for matches in the “Filter by text” box<u></u><u></u></span></p>
<p class="gmail-m_-8249052107616523915gmail-m_-837248874828261762MsoListParagraph"><u></u><span style="color:rgb(31,73,125)"><span>4.<span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"times new roman"">
</span></span></span><u></u><span style="color:rgb(31,73,125)">Use facets to filter results if necessary<u></u><u></u></span></p>
<p class="gmail-m_-8249052107616523915gmail-m_-837248874828261762MsoListParagraph"><u></u><span style="color:rgb(31,73,125)"><span>5.<span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"times new roman"">
</span></span></span><u></u><span style="color:rgb(31,73,125)">Check all the archival object records you want to delete<u></u><u></u></span></p>
<p class="gmail-m_-8249052107616523915gmail-m_-837248874828261762MsoListParagraph"><u></u><span style="color:rgb(31,73,125)"><span>6.<span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"times new roman"">
</span></span></span><u></u><span style="color:rgb(31,73,125)">Click Delete.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">-Noah<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class="MsoNormal"><b>From:</b> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-boun<wbr>ces@lyralists.lyrasis.org</a> [mailto:<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_gr<wbr>oup-bounces@lyralists.lyrasis.<wbr>org</a>]
<b>On Behalf Of </b>Custer, Mark<br>
<b>Sent:</b> Thursday, December 15, 2016 9:49 AM<br>
<b>To:</b> Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">archivesspace_users_group@lyr<wbr>alists.lyrasis.org</a>><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Deleting in Bulk From the Staff Interface<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">Suzanne,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">Here’s one workaround for that:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="gmail-m_-8249052107616523915gmail-m_-837248874828261762MsoListParagraph"><u></u><span style="font-family:symbol;color:rgb(31,73,125)"><span>·<span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"times new roman"">
</span></span></span><u></u><span style="color:rgb(31,73,125)">Add a child-level component to the resource, and name it something like “delete-me”, and give it any level whatever (since those two fields are required to create a new archival object).<u></u><u></u></span></p>
<p class="gmail-m_-8249052107616523915gmail-m_-837248874828261762MsoListParagraph"><u></u><span style="font-family:symbol;color:rgb(31,73,125)"><span>·<span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"times new roman"">
</span></span></span><u></u><span style="color:rgb(31,73,125)">Select all of the archival components that you want to delete (you can use the shift and/or control keys to select whatever you need to select), and then use the “move” function to move them into the
newly-created delete-me wrapper.<u></u><u></u></span></p>
<p class="gmail-m_-8249052107616523915gmail-m_-837248874828261762MsoListParagraph"><u></u><span style="font-family:symbol;color:rgb(31,73,125)"><span>·<span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"times new roman"">
</span></span></span><u></u><span style="color:rgb(31,73,125)">Then, just delete that delete-me component.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">Mark<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class="MsoNormal"><b>From:</b> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">
archivesspace_users_group-boun<wbr>ces@lyralists.lyrasis.org</a> [<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">mailto:archivesspace_users_gr<wbr>oup-bounces@lyralists.lyrasis.<wbr>org</a>]
<b>On Behalf Of </b>Stasiulatis, Suzanne<br>
<b>Sent:</b> Thursday, 15 December, 2016 9:32 AM<br>
<b>To:</b> <a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">archivesspace_users_group@lyra<wbr>lists.lyrasis.org</a><br>
<b>Subject:</b> [Archivesspace_Users_Group] Deleting in Bulk From the Staff Interface<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is there any way to delete multiple archival objects in a resource. Can you select multiple archival objects and delete them in bulk? What are your workarounds or solutions?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks in advance,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Suzanne<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:verdana,sans-serif;color:navy">Suzanne Stasiulatis
</span></b><span style="font-size:10pt;font-family:verdana,sans-serif;color:navy">| Archivist II<br>
Pennsylvania Historical and Museum Commission<b> </b>| Pennsylvania State Archives<br>
350 North Street | Harrisburg, PA 17120-0090<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:verdana,sans-serif;color:navy">Phone: <a href="tel:(717)%20787-5953" value="+17177875953" target="_blank">717-787-5953</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:verdana,sans-serif;color:rgb(0,62,126)"><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.phmc.pa.gov_&d=CwMFAg&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=s7ciGQfUJeaV_ryx908hbeXDoU9aqDwDN0Z0VbfsJ3Y&m=f33wlBF941e1CcSbiMoNu4w15r-LncWN9Jvu2sJL_us&s=8L1uVdHw_uPoFgAUv-p9ds7hvM-TTysrbmyQQ1kMxFU&e=" target="_blank">http://www.phmc.pa.gov</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(23,54,93)"><a href="mailto:sustasiula@pa.gov" target="_blank">sustasiula@pa.gov</a></span><span style="font-size:10pt;font-family:verdana,sans-serif;color:rgb(23,54,93)"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br></div></div>______________________________<wbr>_________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyra<wbr>lists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/m<wbr>ailman/listinfo/archivesspace_<wbr>users_group</a><br>
<br></blockquote></div><br></div></div></div>
<br>______________________________<wbr>_________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@<wbr>lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/<wbr>mailman/listinfo/<wbr>archivesspace_users_group</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div><br>
</div></div>