WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org
View all threadsI'm noticing that when defining a dynamic term list, one can put in a list of terms in the XML (in <option> tags). When starting up CSpace, though, those terms are not automatically added to the database. Is there a step that I am missing?
Peter Murray
Dev/Ops Lead and Project Manager
Cherry Hill Company
Yes, that's correct: there's just one more step to make your term list
'live':
https://wiki.collectionspace.org/display/DOC/Initializing+data
On Fri, Sep 25, 2015 at 7:40 AM, Peter Murray pmurray@chillco.com wrote:
I'm noticing that when defining a dynamic term list, one can put in a list
of terms in the XML (in <option> tags). When starting up CSpace, though,
those terms are not automatically added to the database. Is there a step
that I am missing?
Peter Murray
Dev/Ops Lead and Project Manager
Cherry Hill Company
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
Oh, right! I forgot about that step when I started working from a blank database. Is there any harm in repeatedly initializing the authorities? (Will it overwrite term lists that are already there? If so, is there a way to initialize just one term list when I add it?)
Peter
On Sep 25, 2015, at 10:44 AM, Aron Roberts aron@socrates.berkeley.edu wrote:
Yes, that's correct: there's just one more step to make your term list 'live':
https://wiki.collectionspace.org/display/DOC/Initializing+data https://wiki.collectionspace.org/display/DOC/Initializing+data
On Fri, Sep 25, 2015 at 7:40 AM, Peter Murray <pmurray@chillco.com mailto:pmurray@chillco.com> wrote:
I'm noticing that when defining a dynamic term list, one can put in a list of terms in the XML (in <option> tags). When starting up CSpace, though, those terms are not automatically added to the database. Is there a step that I am missing?
Peter
--
Peter Murray
Dev/Ops Lead and Project Manager
Cherry Hill Company
Peter,
You should be able to repeatedly initializing the authorities without problems.
As far as I know, there is no easy way to initialize just one term list, but you can always create a script that uses the RESTFul API to add a new term list. If you do, please consider contributing it! [😊]
-Richard
From: Talk talk-bounces@lists.collectionspace.org on behalf of Peter Murray pmurray@chillco.com
Sent: Friday, September 25, 2015 7:49 AM
To: Aron Roberts
Cc: CollectionSpace Talk List
Subject: Re: [Talk] Populating dynamic term list vocabularies
Oh, right! I forgot about that step when I started working from a blank database. Is there any harm in repeatedly initializing the authorities? (Will it overwrite term lists that are already there? If so, is there a way to initialize just one term list when I add it?)
Peter
On Sep 25, 2015, at 10:44 AM, Aron Roberts <aron@socrates.berkeley.edumailto:aron@socrates.berkeley.edu> wrote:
Yes, that's correct: there's just one more step to make your term list 'live':
https://wiki.collectionspace.org/display/DOC/Initializing+data
On Fri, Sep 25, 2015 at 7:40 AM, Peter Murray <pmurray@chillco.commailto:pmurray@chillco.com> wrote:
I'm noticing that when defining a dynamic term list, one can put in a list of terms in the XML (in <option> tags). When starting up CSpace, though, those terms are not automatically added to the database. Is there a step that I am missing?
Peter
--
Peter Murray
Dev/Ops Lead and Project Manager
Cherry Hill Company
Ah, very good. Yes, it does only add entries if they weren't already there. The first time it took a a little over one minute to run on my vagrant box. The second time took only 12 seconds. I've added it to my "rebuild everything" Ansible playbook (https://gist.github.com/dltj/81dca4e22f4f747cc639#file-playbook_cspace_redeploy_tenant_config-yml-L70-L76 https://gist.github.com/dltj/81dca4e22f4f747cc639#file-playbook_cspace_redeploy_tenant_config-yml-L70-L76).
Peter
On Sep 25, 2015, at 10:59 AM, Richard Millet richard.millet@lyrasis.org wrote:
Peter,
You should be able to repeatedly initializing the authorities without problems.
As far as I know, there is no easy way to initialize just one term list, but you can always create a script that uses the RESTFul API to add a new term list. If you do, please consider contributing it! <OutlookEmoji-😊.png>
-Richard
From: Talk talk-bounces@lists.collectionspace.org on behalf of Peter Murray pmurray@chillco.com
Sent: Friday, September 25, 2015 7:49 AM
To: Aron Roberts
Cc: CollectionSpace Talk List
Subject: Re: [Talk] Populating dynamic term list vocabularies
Oh, right! I forgot about that step when I started working from a blank database. Is there any harm in repeatedly initializing the authorities? (Will it overwrite term lists that are already there? If so, is there a way to initialize just one term list when I add it?)
Peter
On Sep 25, 2015, at 10:44 AM, Aron Roberts <aron@socrates.berkeley.edu mailto:aron@socrates.berkeley.edu> wrote:
Yes, that's correct: there's just one more step to make your term list 'live':
https://wiki.collectionspace.org/display/DOC/Initializing+data https://wiki.collectionspace.org/display/DOC/Initializing+data
On Fri, Sep 25, 2015 at 7:40 AM, Peter Murray <pmurray@chillco.com mailto:pmurray@chillco.com> wrote:
I'm noticing that when defining a dynamic term list, one can put in a list of terms in the XML (in <option> tags). When starting up CSpace, though, those terms are not automatically added to the database. Is there a step that I am missing?
Peter
--
Peter Murray
Dev/Ops Lead and Project Manager
Cherry Hill Company