[Archivesspace_Users_Group] Auto generating unique IDs

Anna Haywood ahaywood at cca.qc.ca
Tue Nov 29 15:25:26 EST 2022


Hello Alex and Rachel,

Thank you both so much for these suggestions, I will look into them and see if my IT dept. can help.

I also saw on an old post (from 2018) that someone had used the number in the url to create the CUI. So for instance, using /repositories/2/archival_objects/4131 to make the CUI "4131" -  I thought this was an interesting idea. Does anyone see any major flaws this? We only have 2 repositories and we probably won't transfer archival objects between the two.

Best,
Anna


---

Anna Haywood
Archiviste
Archivist

Centre Canadien d'Architecture
Canadian Centre for Architecture
1920, rue Baile, Montréal, Québec, Canada, H3H 2S6
+1 5149397001x1368
cca.qc.ca<https://www.cca.qc.ca/fr/?utm_source=fr_email_signature&utm_medium=email>
Twitter<https://www.twitter.com/ccawire> | Instagram<https://www.instagram.com/canadiancentreforarchitecture/> | Facebook<https://www.facebook.com/cca.conversation> | YouTube<https://www.youtube.com/user/CCAchannel>

Comment la technologie transforme-t-elle le paysage du commerce de détail?<https://bit.ly/3LQKFyg>
How does technology transform retail landscapes?<https://bit.ly/3BQMt60>

Inscrivez-vous<https://www.cca.qc.ca/fr/?go=enews&utm_source=fr_email_signature&utm_medium=email> pour recevoir de nos nouvelles.
Sign up<https://www.cca.qc.ca/en/?go=enews&utm_source=en_email_signature&utm_medium=email> to get news from us.
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> On Behalf Of Alexander Duryee
Sent: Tuesday, November 29, 2022 3:13 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Auto generating unique IDs

Anna,

We use a plugin to achieve something very similar here at NYPL - https://github.com/alexduryee/aspace_serial_numbers<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Falexduryee%2Faspace_serial_numbers&data=05%7C01%7Cahaywood%40cca.qc.ca%7C25cccad0b86f47cb61c608dad2461d08%7C4e72076180cf4800ad14ca034727386b%7C0%7C0%7C638053496409381719%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ZGuibQW76sOvj8ukxdtMXfs68bZ6CyuSMjSPA9iJO90%3D&reserved=0>.  This auto-generates a component_id when an archival object is saved without an ID, starting from 3000000 and incrementing by 1 each time (using ASpace's built-in Sequence).

Note that this plugin requires some frontend tweaks to be truly functional, which is in a separate plugin repository, but it should give you an idea/basis to work from.

Thanks,
--Alex



On Tue, Nov 29, 2022 at 9:35 AM Rachel Aileen Searcy <rachel.searcy at nyu.edu<mailto:rachel.searcy at nyu.edu>> wrote:
Hello Anna,

You might want to look into the Digitization Work Order plugin<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhudmol%2Fdigitization_work_order&data=05%7C01%7Cahaywood%40cca.qc.ca%7C25cccad0b86f47cb61c608dad2461d08%7C4e72076180cf4800ad14ca034727386b%7C0%7C0%7C638053496409381719%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Vgno4pXrEOCledJb5uG91chH3EJDdBMLPlYjaf2mTTU%3D&reserved=0>, which might meet your needs. The plugin allows you to generate unique identifiers for selected archival objects within a resource record that is then added to that object's Component Unique Identifier field. It also gives you the ability to download a simplified tsv file of those selected components. At NYU we use this to facilitate our digitization workflow that involves transferring archival materials between different departments, but we've also adapted it for other uses. I'll also include a link to the portion of our local ArchivesSpace manual with instructions<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.google.com%2Fdocument%2Fd%2F11kWxbFTazB6q5fDNBWDHJxMf3wdVsp8cd7HzjEhE-ao%2Fedit%23heading%3Dh.5kg8ir70qq1n&data=05%7C01%7Cahaywood%40cca.qc.ca%7C25cccad0b86f47cb61c608dad2461d08%7C4e72076180cf4800ad14ca034727386b%7C0%7C0%7C638053496409537927%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kXOm1osMeEgLzDHbFppsxFZv4Tr2%2FOgR516a2eUVoOo%3D&reserved=0> on how to use it. I'm happy to answer any additional questions you might have about it.

Hope this is helpful. Take care,
Rachel

On Mon, Nov 28, 2022 at 5:30 PM Anna Haywood <ahaywood at cca.qc.ca<mailto:ahaywood at cca.qc.ca>> wrote:
Hello everyone,

I was wondering if anyone had a suggestion (manual or automated) to create unique ids for archival objects in ArchivesSpace? We have migrated from a system that used to autogenerate consecutive 6 digital numbers for all users. I do not want to create unique IDs that are tied to the collection/series/etc. because if we reprocess, renumber, or rearrange the collection, it means we need to change all the unique ids.

Any ideas are appreciated!
Thanks,
Anna

---

Anna Haywood
Archiviste
Archivist

Centre Canadien d'Architecture
Canadian Centre for Architecture
1920, rue Baile, Montréal, Québec, Canada, H3H 2S6
+1 5149397001x1368
cca.qc.ca<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__www.cca.qc.ca_fr_-3Futm-5Fsource-3Dfr-5Femail-5Fsignature-26utm-5Fmedium-3Demail%26d%3DDwMFAg%26c%3DslrrB7dE8n7gBJbeO0g-IQ%26r%3DWwSkYr7X9POdZNK4180yTjrK5hSljcuCPIN--y1VRZk%26m%3DAkDvIr0ydespIHaIcj49qiDGZaTZBZ2ACpZbJtFjC_JDtQj9dDaUitg4BlxqfBIE%26s%3DsSBncxR73mctvQgA3SrMncsFv8E5OP-s7-dEN7YR2kc%26e%3D&data=05%7C01%7Cahaywood%40cca.qc.ca%7C25cccad0b86f47cb61c608dad2461d08%7C4e72076180cf4800ad14ca034727386b%7C0%7C0%7C638053496409537927%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=V4EdpBozjY4z54GLK%2FuzFnfbOBXZ3tOH7SU1mExqn8I%3D&reserved=0>
Twitter<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__www.twitter.com_ccawire%26d%3DDwMFAg%26c%3DslrrB7dE8n7gBJbeO0g-IQ%26r%3DWwSkYr7X9POdZNK4180yTjrK5hSljcuCPIN--y1VRZk%26m%3DAkDvIr0ydespIHaIcj49qiDGZaTZBZ2ACpZbJtFjC_JDtQj9dDaUitg4BlxqfBIE%26s%3D6tGAvYwZvhUcuDJHzua7icika4Jzh_2D0aw4nq3kcCY%26e%3D&data=05%7C01%7Cahaywood%40cca.qc.ca%7C25cccad0b86f47cb61c608dad2461d08%7C4e72076180cf4800ad14ca034727386b%7C0%7C0%7C638053496409537927%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=KVXZpugZQyJLBE6oFWznKKNF%2FzTgZZlJSgTIg6CZVWA%3D&reserved=0> | Instagram<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__www.instagram.com_canadiancentreforarchitecture_%26d%3DDwMFAg%26c%3DslrrB7dE8n7gBJbeO0g-IQ%26r%3DWwSkYr7X9POdZNK4180yTjrK5hSljcuCPIN--y1VRZk%26m%3DAkDvIr0ydespIHaIcj49qiDGZaTZBZ2ACpZbJtFjC_JDtQj9dDaUitg4BlxqfBIE%26s%3DgiiZpWinXRQnUvDoVqhtYEXIAVErdAosTCz92B6XXu8%26e%3D&data=05%7C01%7Cahaywood%40cca.qc.ca%7C25cccad0b86f47cb61c608dad2461d08%7C4e72076180cf4800ad14ca034727386b%7C0%7C0%7C638053496409537927%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=va0h27iwroIMMjZ%2FIO1IljZBh%2FFctSc7u2DQi1lN4WY%3D&reserved=0> | Facebook<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__www.facebook.com_cca.conversation%26d%3DDwMFAg%26c%3DslrrB7dE8n7gBJbeO0g-IQ%26r%3DWwSkYr7X9POdZNK4180yTjrK5hSljcuCPIN--y1VRZk%26m%3DAkDvIr0ydespIHaIcj49qiDGZaTZBZ2ACpZbJtFjC_JDtQj9dDaUitg4BlxqfBIE%26s%3D-uQYhWmjYjJTpP0XfLHvcMJyHXfDhhLnNr1gMon2qGg%26e%3D&data=05%7C01%7Cahaywood%40cca.qc.ca%7C25cccad0b86f47cb61c608dad2461d08%7C4e72076180cf4800ad14ca034727386b%7C0%7C0%7C638053496409537927%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=B0mRTs9Llv7ZAC2C5gPykFB6Uc2JiJ0mReyvkP9nR2M%3D&reserved=0> | YouTube<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__www.youtube.com_user_CCAchannel%26d%3DDwMFAg%26c%3DslrrB7dE8n7gBJbeO0g-IQ%26r%3DWwSkYr7X9POdZNK4180yTjrK5hSljcuCPIN--y1VRZk%26m%3DAkDvIr0ydespIHaIcj49qiDGZaTZBZ2ACpZbJtFjC_JDtQj9dDaUitg4BlxqfBIE%26s%3DMiCSgfNKCx2U7TEuwAHnRzZ9lkRxF4FFcKWfJuj1jts%26e%3D&data=05%7C01%7Cahaywood%40cca.qc.ca%7C25cccad0b86f47cb61c608dad2461d08%7C4e72076180cf4800ad14ca034727386b%7C0%7C0%7C638053496409537927%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=KSIoWLrKzPsFdGUQWUZihpTcMKjj3%2F9WvVYfI4ZKH5w%3D&reserved=0>

Comment la technologie transforme-t-elle le paysage du commerce de détail?<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__bit.ly_3LQKFyg%26d%3DDwMFAg%26c%3DslrrB7dE8n7gBJbeO0g-IQ%26r%3DWwSkYr7X9POdZNK4180yTjrK5hSljcuCPIN--y1VRZk%26m%3DAkDvIr0ydespIHaIcj49qiDGZaTZBZ2ACpZbJtFjC_JDtQj9dDaUitg4BlxqfBIE%26s%3DkbWNabaOz1YrYhI-rbmheiWuqt4LpH3aE1rcVOG1evw%26e%3D&data=05%7C01%7Cahaywood%40cca.qc.ca%7C25cccad0b86f47cb61c608dad2461d08%7C4e72076180cf4800ad14ca034727386b%7C0%7C0%7C638053496409537927%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=KhlbvbsMjOvWnYkEJcrsdqTrQ7fFzsRWEoSnVtpI0Fw%3D&reserved=0>
How does technology transform retail landscapes?<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__bit.ly_3BQMt60%26d%3DDwMFAg%26c%3DslrrB7dE8n7gBJbeO0g-IQ%26r%3DWwSkYr7X9POdZNK4180yTjrK5hSljcuCPIN--y1VRZk%26m%3DAkDvIr0ydespIHaIcj49qiDGZaTZBZ2ACpZbJtFjC_JDtQj9dDaUitg4BlxqfBIE%26s%3DQc6RdWh-Qnne4nIG0e03fJ9leMf8ZlRyTstlTrW19xE%26e%3D&data=05%7C01%7Cahaywood%40cca.qc.ca%7C25cccad0b86f47cb61c608dad2461d08%7C4e72076180cf4800ad14ca034727386b%7C0%7C0%7C638053496409537927%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=IUEt5ICPjJnXSVNMw77PER6TH0wkA%2B7%2FYMsxDgWZQJ8%3D&reserved=0>

Inscrivez-vous<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__www.cca.qc.ca_fr_-3Fgo-3Denews-26utm-5Fsource-3Dfr-5Femail-5Fsignature-26utm-5Fmedium-3Demail%26d%3DDwMFAg%26c%3DslrrB7dE8n7gBJbeO0g-IQ%26r%3DWwSkYr7X9POdZNK4180yTjrK5hSljcuCPIN--y1VRZk%26m%3DAkDvIr0ydespIHaIcj49qiDGZaTZBZ2ACpZbJtFjC_JDtQj9dDaUitg4BlxqfBIE%26s%3DyAd5JxLFVGSNRWh5EomGXvTsdobHVbxOPA-GaTRxFaY%26e%3D&data=05%7C01%7Cahaywood%40cca.qc.ca%7C25cccad0b86f47cb61c608dad2461d08%7C4e72076180cf4800ad14ca034727386b%7C0%7C0%7C638053496409537927%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=e3hvFreD%2FvhTcEA2tE3s3oRSCuI36Ufz16SG91RZV5Y%3D&reserved=0> pour recevoir de nos nouvelles.
Sign up<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__www.cca.qc.ca_en_-3Fgo-3Denews-26utm-5Fsource-3Den-5Femail-5Fsignature-26utm-5Fmedium-3Demail%26d%3DDwMFAg%26c%3DslrrB7dE8n7gBJbeO0g-IQ%26r%3DWwSkYr7X9POdZNK4180yTjrK5hSljcuCPIN--y1VRZk%26m%3DAkDvIr0ydespIHaIcj49qiDGZaTZBZ2ACpZbJtFjC_JDtQj9dDaUitg4BlxqfBIE%26s%3DCYn7ydtYTY5_r_Oo8B0YldcaW4NWd01gasUV0ETmW6k%26e%3D&data=05%7C01%7Cahaywood%40cca.qc.ca%7C25cccad0b86f47cb61c608dad2461d08%7C4e72076180cf4800ad14ca034727386b%7C0%7C0%7C638053496409537927%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Wu%2Fd7vjioY4afCLt3plC%2F1PwhjENVjBm3%2FbkbDytbHs%3D&reserved=0> to get news from us.
_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
https://urldefense.proofpoint.com/v2/url?u=http-3A__lyralists.lyrasis.org_mailman_listinfo_archivesspace-5Fusers-5Fgroup&d=DwICAg&c=slrrB7dE8n7gBJbeO0g-IQ&r=WwSkYr7X9POdZNK4180yTjrK5hSljcuCPIN--y1VRZk&m=AkDvIr0ydespIHaIcj49qiDGZaTZBZ2ACpZbJtFjC_JDtQj9dDaUitg4BlxqfBIE&s=vmmXCwYx00vAfjuB-kztT-F8avjxog1K1LpjYWk_mSM&e=<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttp-3A__lyralists.lyrasis.org_mailman_listinfo_archivesspace-5Fusers-5Fgroup%26d%3DDwICAg%26c%3DslrrB7dE8n7gBJbeO0g-IQ%26r%3DWwSkYr7X9POdZNK4180yTjrK5hSljcuCPIN--y1VRZk%26m%3DAkDvIr0ydespIHaIcj49qiDGZaTZBZ2ACpZbJtFjC_JDtQj9dDaUitg4BlxqfBIE%26s%3DvmmXCwYx00vAfjuB-kztT-F8avjxog1K1LpjYWk_mSM%26e%3D&data=05%7C01%7Cahaywood%40cca.qc.ca%7C25cccad0b86f47cb61c608dad2461d08%7C4e72076180cf4800ad14ca034727386b%7C0%7C0%7C638053496409537927%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=6%2Fz7REysaQQWXP8w0XYPCRXTbRM0bMCvzJmzbxBwGfM%3D&reserved=0>


--
Rachel Searcy
Accessioning Archivist, Archival Collections Management
New York University Libraries
212.998.2539 | rachel.searcy at nyu.edu<mailto:rachel.searcy at nyu.edu>
My pronouns are she/her/hers
_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<https://can01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flyralists.lyrasis.org%2Fmailman%2Flistinfo%2Farchivesspace_users_group&data=05%7C01%7Cahaywood%40cca.qc.ca%7C25cccad0b86f47cb61c608dad2461d08%7C4e72076180cf4800ad14ca034727386b%7C0%7C0%7C638053496409537927%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=04knCXvp4bIyV1EVn5cRpR4joMOe%2BV87%2BPKxztY9228%3D&reserved=0>


--
Alexander Duryee
Manager, Archival Metadata
New York Public Library
(917)-229-9590
alexanderduryee at nypl.org<mailto:alexanderduryee at nypl.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20221129/9362e4ce/attachment-0001.html>


More information about the Archivesspace_Users_Group mailing list