Hi Kalp, great, thanks so much! Your advices were very helpful and I solved the problem. Just a note: actually, both maven and ant need to be run because the Messages.properties file needs to be included in the new jars. Thanks again. Filippo
Il giorno lunedì 14 settembre 2020 alle 20:20:24 UTC+2 [email protected] ha scritto: > Hello Santoro, > > - In your second point in Messages.properties, > *browse.menu.type = Document* > > > - Also, You need to set Search filter configuration beans in > discovery.xml > > *<bean id="searchFilterTitle" > class="org.dspace.discovery.configuration.DiscoverySearchFilter"> * > * <property name="indexFieldName" value="type"/> * > * <property name="metadataFields"> * > * <list> * > * <value>dc.type</value> * > * </list> * > * </property> **</bean>* > > > - Then, run command *./dspace index-discovery -f* > > > - There is no need to run *mvn package* and *ant fresh_install.* > - For more Reference you can check out > > https://wiki.lyrasis.org/display/DSDOC6x/Configuration+Reference#ConfigurationReference-BrowseIndexConfiguration > > On Monday, September 14, 2020 at 8:01:27 PM UTC+5:30 [email protected] > wrote: > >> >> Hi everyone, >> I am using the release 6.3 and would like to modify the browse menu in >> JSPUI by adding an item (in my case, browsing by type document). >> However, even reading the official documentation, I didn't understand >> what the steps to take are. I tried this: >> >> 1) added webui.browse.index.5 = type:metadata:dc.type:text >> to dspace.cfg; >> 2) added browse.type.metadata.type = Document type to >> [dspace-src]/dspace-api/src/main/resources/Messages.properties; >> 3) update SOLR indexes running [dspace]/bin/dspace index-discovery -b; >> 4) mvn package; >> 5) ant fresh_install; >> 6) stop Tomcat; >> 7) deploy new version of JSPUI; >> 8) start Tomcat. >> >> After these step, browse menu becomes: >> >> [image: menu.JPG] >> >> And clicking on "???browse.menu.type???" ( which should have been >> "Document Type" instead) appears this >> >> [image: Type.JPG] >> >> Obviously I'm doing something wrong... >> Thanks in advance. >> Filippo >> >> -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- 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 view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/85416075-6009-455d-9a63-65792d2dd0f4n%40googlegroups.com.
