[Archivesspace_Users_Group] updating the enumerations file
Nathan Stevens
ns96 at nyu.edu
Mon May 4 08:15:49 EDT 2015
I believe the only way to add to enumeration list which cannot be edited,
is not through the REST API, but directly to backend database using SQL
calls.
On Mon, May 4, 2015 at 5:35 AM, Chris Fitzpatrick <
Chris.Fitzpatrick at lyrasis.org> wrote:
> Hey,
>
>
> How are you passing in the authentication token?
>
> b,chris.
>
>
> Chris Fitzpatrick | Developer, ArchivesSpace
> Skype: chrisfitzpat | Phone: 918.236.6048
> http://archivesspace.org/
> ------------------------------
> *From:* archivesspace_users_group-bounces at lyralists.lyrasis.org <
> archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of
> Maura Carbone <mauraa at brandeis.edu>
> *Sent:* Thursday, April 30, 2015 9:27 PM
> *To:* Archivesspace Users Group
> *Subject:* Re: [Archivesspace_Users_Group] updating the enumerations file
>
> Didn't want to start a new thread since this is so closely related but
> I keep getting "error: Access denied" when I try to do an update through
> the API. I am logged in as an admin. Any ideas?
>
> On Thu, Apr 30, 2015 at 2:45 PM, Callahan, Maureen <
> maureen.callahan at yale.edu> wrote:
>
>> That’s the conclusion that I’m coming to — I had somehow (erroneously)
>> hoped that the en.yml file both loaded the configurations and provided the
>> translation values, but I now see that it’s just providing a translation. I
>> suppose that I could do them in batch using the API —
>> http://archivesspace.github.io/archivesspace/doc/file.API.html#post-configenumerations
>>
>> Thanks for taking this journey with me, everyone.
>>
>> Maureen
>>
>>
>> On Apr 30, 2015, at 2:38 PM, Kevin Clair <Kevin.Clair at du.edu> wrote:
>>
>> Hello,
>>
>> Not sure if you've tried this yet, but you can do that from the "Manage
>> Controlled Value Lists" link in the System drop-down menu. I don't know
>> about importing more than one at a time; I usually just add the codes one
>> by one from there, and then edit the en.yml file afterward to add the
>> translations. -k
>> ------------------------------
>> *From:* archivesspace_users_group-bounces at lyralists.lyrasis.org [
>> archivesspace_users_group-bounces at lyralists.lyrasis.org] on behalf of
>> Callahan, Maureen [maureen.callahan at yale.edu]
>> *Sent:* Thursday, April 30, 2015 12:29 PM
>> *To:* Archivesspace Users Group
>> *Subject:* Re: [Archivesspace_Users_Group] updating the enumerations file
>>
>> I see in the readme:
>>
>> * "enums/en.yml" contains the entries for the dynamic enumeration
>> codes - add your translations to this file after importing your enumeration
>> codes
>>
>> What does it mean to import enumeration codes? Any insights?
>>
>> MC
>>
>> On Apr 30, 2015, at 1:42 PM, Callahan, Maureen <
>> maureen.callahan at yale.edu> wrote:
>>
>> Yes I did. I tried re-starting the application a couple of times, but
>> no dice so far. I also had a colleague try this on her local instillation
>> as well.
>>
>> Maureen
>>
>> On Apr 30, 2015, at 1:40 PM, Brad Westbrook <brad.westbrook at lyrasis.org>
>> wrote:
>>
>> Hi, Maureen,
>>
>> Did you close ASpace, edit the file, and then restart Aspace?
>>
>> b
>>
>> -----Original Message-----
>> From: archivesspace_users_group-bounces at lyralists.lyrasis.org [
>> mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org
>> <archivesspace_users_group-bounces at lyralists.lyrasis.org>] On Behalf Of
>> Callahan, Maureen
>> Sent: Thursday, April 30, 2015 1:38 PM
>> To: Archivesspace Users Group
>> Subject: [Archivesspace_Users_Group] updating the enumerations file
>>
>> Hi everyone,
>>
>> Have you ever updated the archivesspace/locales/enums/en.yml file? We’re
>> trying to do so, and while I’ve been able to get the file to successfully
>> load (it doesn’t throw an error, which is what happens if the formatting is
>> improper), it also doesn’t, like, *stick*. I still see the default values.
>> Is this a cacheing/indexing/whatever problem? Is there a step beyond
>> updating the file that I should know?
>>
>> Thanks for your help with what is probably a dumb question.
>>
>> Maureen
>>
>> Maureen Callahan
>> Archivist, Metadata Specialist
>> Manuscripts & Archives
>> Yale University Library
>> maureen.callahan at yale.edu
>> 203.432.3627
>>
>> Webpage: web.library.yale.edu/mssa
>> Collections: drs.library.yale.edu
>> _______________________________________________
>> Archivesspace_Users_Group mailing list
>> 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=AwIGaQ&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=JgH2YCQ8D3P9-Lm_x4bv3d2CZBYlbx6hxnLFHtfovi8&m=pBScezzUf_UPzb08UhVmNWd7iMH6O3IK4IPxOmqC2tA&s=U-B_SiTZZhkWQqCio-aCMBCG3J9bQjBurwyP5rCBQ54&e=
>>
>> _______________________________________________
>> Archivesspace_Users_Group mailing list
>> 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=AwIGaQ&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=JgH2YCQ8D3P9-Lm_x4bv3d2CZBYlbx6hxnLFHtfovi8&m=pBScezzUf_UPzb08UhVmNWd7iMH6O3IK4IPxOmqC2tA&s=U-B_SiTZZhkWQqCio-aCMBCG3J9bQjBurwyP5rCBQ54&e=
>>
>>
>> _______________________________________________
>> Archivesspace_Users_Group mailing list
>> 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=AwICAg&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=JgH2YCQ8D3P9-Lm_x4bv3d2CZBYlbx6hxnLFHtfovi8&m=86rKvCIfA0ydGkkfLYMcqOUfGLFrvrJp_E9-OrzYb6s&s=GouRUlAccTHzg4bZ4NTkaliZeroCAjw65yxOr_0-FPs&e=
>>
>>
>>
>> _______________________________________________
>> Archivesspace_Users_Group mailing list
>> 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=AwICAg&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=JgH2YCQ8D3P9-Lm_x4bv3d2CZBYlbx6hxnLFHtfovi8&m=N06BtJ0l0NWCnHIyPqvGnSGwJP69r0zW0UbvSvRDYXE&s=lBHEFRDSgrsWfrHsrS3SerzPjLMpH9jSOqJEKlEO7Zo&e=
>>
>>
>>
>> _______________________________________________
>> Archivesspace_Users_Group mailing list
>> Archivesspace_Users_Group at lyralists.lyrasis.org
>> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>>
>>
>
>
> --
> Maura Carbone
> Digital Initiatives Librarian
> Brandeis University
> Library and Technology Services
> (781) 736-4659
> 415 South Street, (MS 017/P.O. Box 549110)
> Waltham, MA 02454-9110
> email: mauraa at brandeis.edu
>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>
>
--
Nathan Stevens
Programmer/Analyst
Digital Library Technology Services
New York University
1212-998-2653
ns96 at nyu.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150504/2be8123f/attachment.html>
More information about the Archivesspace_Users_Group
mailing list