[Archivesspace_Users_Group] ID [Archivists Toolkit Database::RESOURCE]

Custer, Mark mark.custer at yale.edu
Mon Aug 5 16:14:36 EDT 2019


Hi Ed,

Those external IDs were added to the core code of the ArchivesSpace EAD exporter at some point, which can result in some surprises (see the references to "external_id" here https://github.com/archivesspace/archivesspace/blob/master/backend/app/converters/ead_converter.rb#L139-L162 ).  Those ead:unitid elements do include the @audience='internal' attribute, so generally they will be removed before you find them in a PDF.  We like to review our PDF files with internal-only notes still present, however, so here's the fix that I'm using locally right now so that we don't wind up with Archivists' Toolkit database IDs in our PDF-review files:

  	<!-- let's remove those AT database IDs even if we keep internal-only elements around.
  	those should be the only unitids exported with @type attributes, so just remove 'em. 	-->
  	<xsl:template match="ead:unitid[@type]" priority="2"/>

This is handled after the file has been exported on our end, but something like that could be added to the PDF-creation process.  Or, you could use an EAD export plugin that overrides the core code behavior referenced above.

Ideally, though, I think at this point it would be better if those external IDs were never included in an EAD export, since that could be handled in a local plugin.  Also, those external IDs aren't displayed by default, as Brian notes (and they definitely are not editable values by default), so you won't seem them normally.

Mark




-----Original Message-----
From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Brian Harrington
Sent: Monday, 05 August, 2019 4:00 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] ID [Archivists Toolkit Database::RESOURCE]

Hi Ed,

That’s an external ID.  They are usually hidden from view, but if you add "AppConfig[:show_external_ids] = true” to your config.rb, they should show up on the staff side.

I hope this helps,

Brian

—
Brian Harrington
Migration Specialist
LYRASIS
brian.harrington at lyrasis.org
Skype: abbistani

> On Aug 5, 2019, at 3:00 PM, Busch, Ed <buschedw at msu.edu> wrote:
> 
> With the latest release of ASpace, we’ve started noticing that if we forget to uncheck “include unpublished” when exporting a PDF of a Resource, we get a line added to the Summary Information underneath ID.
>  
> For example :
> ID:                                                                                          c.00665
> ID [Archivists Toolkit Database::RESOURCE]         585032
>  
> This information is from Archivists Toolkit but has not been previously viewable nor shown anywhere in the window. Why?
> See attached.
>  
>  
> Ed Busch, MLIS
> Acting Director and Electronic Records Archivist Michigan State 
> University Archives Conrad Hall
> 943 Conrad Road, Room 101
> East Lansing, MI 48824
> 517-884-6438
> buschedw at msu.edu
>  
> <4210_001.jpg>_______________________________________________
> Archivesspace_Users_Group mailing list 
> Archivesspace_Users_Group at lyralists.lyrasis.org
> https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Flyral
> ists.lyrasis.org%2Fmailman%2Flistinfo%2Farchivesspace_users_group&
> data=02%7C01%7Cmark.custer%40yale.edu%7C09c12b6d32f2430a100408d719df75
> 0c%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C637006319853888509&amp
> ;sdata=g3HS21D2V9EXjqBqEuu%2B%2FD6si7NXYOHt8JHMqIZsrDw%3D&reserved
> =0






_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org
https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Flyralists.lyrasis.org%2Fmailman%2Flistinfo%2Farchivesspace_users_group&data=02%7C01%7Cmark.custer%40yale.edu%7C09c12b6d32f2430a100408d719df750c%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C637006319853888509&sdata=g3HS21D2V9EXjqBqEuu%2B%2FD6si7NXYOHt8JHMqIZsrDw%3D&reserved=0


More information about the Archivesspace_Users_Group mailing list