<div dir="ltr">We see the following error in the exported marcxml file with the plugin enabled. Our AS version is 2.7.1.<div><br></div><div>{"error":"wrong number of arguments (2 for 1)"}<br></div><div><br></div><div><br></div><div>Mang Sun</div><div>Rice U.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 19, 2022 at 4:33 PM Joshua D. Shaw <<a href="mailto:Joshua.D.Shaw@dartmouth.edu">Joshua.D.Shaw@dartmouth.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-3908732012139418153">




<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hi Rebecca</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
This should get you started: <a href="https://urldefense.com/v3/__https://github.com/jdshaw/dartmouth_udf_exports__;!!BuQPrrmRaQ!hoZD86BZEammKoA9cQbsKq6cfvPbZJm3YheC1Aj7moUqNqJ1_XeftPrZU8gRA7KPQBEN57BH-3bis0109hOBv-joBc9BYMx5WVI$" id="m_-3908732012139418153LPlnk100486" target="_blank">
https://github.com/jdshaw/dartmouth_udf_exports</a> Specifically: <a href="https://urldefense.com/v3/__https://github.com/jdshaw/dartmouth_udf_exports/blob/main/backend/lib/marc_user_defined_field_serialize.rb__;!!BuQPrrmRaQ!hoZD86BZEammKoA9cQbsKq6cfvPbZJm3YheC1Aj7moUqNqJ1_XeftPrZU8gRA7KPQBEN57BH-3bis0109hOBv-joBc9BhiH7B2Y$" id="m_-3908732012139418153LPNoLPOWALinkPreview" target="_blank">
https://github.com/jdshaw/dartmouth_udf_exports/blob/main/backend/lib/marc_user_defined_field_serialize.rb</a> Its very much customized to our needs, but you should be able to use it as a starting point.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Joshua<br>
</div>
<div id="m_-3908732012139418153appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="m_-3908732012139418153divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> <<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>> on behalf of Rebecca Russell
 <<a href="mailto:russellr@rice.edu" target="_blank">russellr@rice.edu</a>><br>
<b>Sent:</b> Wednesday, October 19, 2022 5:24 PM<br>
<b>To:</b> <a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">archivesspace_users_group@lyralists.lyrasis.org</a> <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">archivesspace_users_group@lyralists.lyrasis.org</a>><br>
<b>Subject:</b> [Archivesspace_Users_Group] User-defined fields in MARC-XML</font>
<div> </div>
</div>
<div><font face="Calibri">Hello,<br>
<br>
We are trying to figure out if there is a plug-in or other way to configure user-defined fields (resources) so they export to MARC-XML?<br>
<br>
Many thanks in advance for any help with this question,<br>
<br>
Rebecca<br>
<br>
<br>
</font>
<pre cols="72">-- 
Rebecca Russell

Archivist / Special Collections Librarian
Woodson Research Center

Pronouns: she/her
 
713-348-5133 | <a href="https://urldefense.com/v3/__https://nam12.safelinks.protection.outlook.com/?url=http*3A*2F*2Flibrary.rice.edu*2Fwoodson&data=05*7C01*7Cjoshua.d.shaw*40dartmouth.edu*7C82ce1ea7d2424db9258208dab2184e5f*7C995b093648d640e5a31ebf689ec9446f*7C0*7C0*7C638018114848241139*7CUnknown*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C3000*7C*7C*7C&sdata=*2B*2B8mNy6jKFCzllWHLG7RIQUGMElyZtc*2FYDCgkle*2F7oc*3D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUl!!BuQPrrmRaQ!hoZD86BZEammKoA9cQbsKq6cfvPbZJm3YheC1Aj7moUqNqJ1_XeftPrZU8gRA7KPQBEN57BH-3bis0109hOBv-joBc9By-HtCT8$" target="_blank">http://library.rice.edu/woodson</a></pre>
</div>
</div>

_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="https://urldefense.com/v3/__http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group__;!!BuQPrrmRaQ!hoZD86BZEammKoA9cQbsKq6cfvPbZJm3YheC1Aj7moUqNqJ1_XeftPrZU8gRA7KPQBEN57BH-3bis0109hOBv-joBc9B7-4aK1w$" rel="noreferrer" target="_blank">https://urldefense.com/v3/__http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group__;!!BuQPrrmRaQ!hoZD86BZEammKoA9cQbsKq6cfvPbZJm3YheC1Aj7moUqNqJ1_XeftPrZU8gRA7KPQBEN57BH-3bis0109hOBv-joBc9B7-4aK1w$</a>  <br>
</div></blockquote></div>