I have created a custom controlled vocabulary list and would like to do the 
same thing: I.e. edit the way the controlled vocabulary works.

I have set up a new xml document in controlled-vocabularies and edited the 
input-forms.xml to load my custom list. This works as expected. However, I, 
too, am unable to get my dspace.cfg customizations to work.

My configuration:

config/controlled-vocabularies/termset-emneord.xml

added to input-forms.xml:

<vocabulary>termset-emneord</vocabulary>

Changed my dspace.cfg:

vocabulary.plugin.termset-emneord.hierarchy.store = false
vocabulary.plugin.termset-emneord.hierarchy.suggest = false
vocabulary.plugin.srsc.delimiter = ", "

but the dspace.cfg seems to have no effect (restarted Tomcat and cleared 
Tomcat cache).

I'm also having some problems with the controlled vocab popup. If I use the 
filter, select an item, close the popup, then reopen the popup, the filter 
box is empty but the filter is still applied.



On Thursday, November 16, 2017 at 5:46:52 PM UTC, Damian wrote:
>
> there is a java file in 
> [dspace-source]/dspace/dspace-api 
> <https://github.com/subugoe/univerlag/tree/master/dspace-api>/src 
> <https://github.com/subugoe/univerlag/tree/master/dspace-api/src>/main 
> <https://github.com/subugoe/univerlag/tree/master/dspace-api/src/main>/
> java 
> <https://github.com/subugoe/univerlag/tree/master/dspace-api/src/main/java>
> /org 
> <https://github.com/subugoe/univerlag/tree/master/dspace-api/src/main/java/org>
> /dspace 
> <https://github.com/subugoe/univerlag/tree/master/dspace-api/src/main/java/org/dspace>
> /content 
> <https://github.com/subugoe/univerlag/tree/master/dspace-api/src/main/java/org/dspace/content>
> /authority 
> <https://github.com/subugoe/univerlag/tree/master/dspace-api/src/main/java/org/dspace/content/authority>
> /DSpaceControlledVocabulary.java
> it has a variable     private String hierarchyDelimiter = "::";
> but, I can choose for another delimiter, setting in dspace.cfg 
> for example: 
> if I create a new vocabulary controlled in 
> [dspace-source]\dspace\config\controlled-vocabularies\MIME.xls
> can set this with:
>
> *plugin.MIME.org.dspace.content.authority.ChoiceAuthority = *
> *org.dspace.content.authority.DSpaceControlledVocabulary*
>
> *Vocabulary.plugin.MIME.delimeter ="/" *
>
>
> *But this is not working, still showing :: after select it  from 
> submission step,*
> *what i doing wrong ?*
>
> *thanks*
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to