[Archivesspace_Users_Group] User-defined fields in MARC-XML

mang.sun at rice.edu mang.sun at rice.edu
Mon Oct 24 16:19:29 EDT 2022


We see the following error in the exported marcxml file with the plugin
enabled. Our AS version is 2.7.1.

{"error":"wrong number of arguments (2 for 1)"}


Mang Sun
Rice U.

On Wed, Oct 19, 2022 at 4:33 PM Joshua D. Shaw <Joshua.D.Shaw at dartmouth.edu>
wrote:

> Hi Rebecca
>
> This should get you started:
> https://github.com/jdshaw/dartmouth_udf_exports
> <https://urldefense.com/v3/__https://github.com/jdshaw/dartmouth_udf_exports__;!!BuQPrrmRaQ!hoZD86BZEammKoA9cQbsKq6cfvPbZJm3YheC1Aj7moUqNqJ1_XeftPrZU8gRA7KPQBEN57BH-3bis0109hOBv-joBc9BYMx5WVI$>
> Specifically:
> https://github.com/jdshaw/dartmouth_udf_exports/blob/main/backend/lib/marc_user_defined_field_serialize.rb
> <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$>
> Its very much customized to our needs, but you should be able to use it as
> a starting point.
>
> Joshua
> ------------------------------
> *From:* archivesspace_users_group-bounces at lyralists.lyrasis.org <
> archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of
> Rebecca Russell <russellr at rice.edu>
> *Sent:* Wednesday, October 19, 2022 5:24 PM
> *To:* archivesspace_users_group at lyralists.lyrasis.org <
> archivesspace_users_group at lyralists.lyrasis.org>
> *Subject:* [Archivesspace_Users_Group] User-defined fields in MARC-XML
>
> Hello,
>
> 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?
>
> Many thanks in advance for any help with this question,
>
> Rebecca
>
>
> --
> Rebecca Russell
>
> Archivist / Special Collections Librarian
> Woodson Research Center
>
> Pronouns: she/her
>
> 713-348-5133 | http://library.rice.edu/woodson <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$>
>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
>
> https://urldefense.com/v3/__http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group__;!!BuQPrrmRaQ!hoZD86BZEammKoA9cQbsKq6cfvPbZJm3YheC1Aj7moUqNqJ1_XeftPrZU8gRA7KPQBEN57BH-3bis0109hOBv-joBc9B7-4aK1w$
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20221024/72e23d43/attachment.html>


More information about the Archivesspace_Users_Group mailing list