[Dspace-tech] [DSpace-tech]: Configure Discovery Facets problem!

2014-12-10 Thread Nada Abo-Eita
Dear DSpace community, I am trying to add Item type (dc.type) to be one of the discover sidebar facets and search filters. So far I did the following: 1- Edit discovery.xml by adding ref bean=searchFilterType / to both *sidebar facets* and *search filters*. I did that under the default

Re: [Dspace-tech] [DSpace-tech]: xmlui customization (Mirage)

2014-12-10 Thread Nada Abo-Eita
Thank you all for your help. I got customization no. (2,3) working without doing rebuilding. For #2: Check this: http://goo.gl/FUjiNQ It works to* browse by* Type , but still it doesn't work to have Type as one of the discover sidebar facets and search filters. For #3: I was editing the wrong

Re: [Dspace-tech] [DSpace-tech]: Configure Discovery Facets problem!

2014-12-10 Thread Vladimir Tomić
Dear Nada, 4. Location of messages.xml should be in your xmlui webapp, check if you are copying your webapps to tomcat/webapps or you've set tomcat to look in dspace/webapps: .../tomcat/webapps/xmlui/i18n/messages.xml .../dspace/webapps/xmlui/i18n/messages.xml Vladimir Tomić Software Architect

Re: [Dspace-tech] [DSpace-tech]: Configure Discovery Facets problem!

2014-12-10 Thread Vladimir Tomić
Dear Nada, We've successfully added dc.publisher field as a sidebar facet and search filter. 1. OK (You should have four new lines in discovery.xml, sidebar facet and search filter for both configurations) 2. OK 3. We've skipped this step, it may be just legacy support 4. One key is

Re: [Dspace-tech] [DSpace-tech]: Configure Discovery Facets problem!

2014-12-10 Thread euler
Hello Nada, Based on what you did, your sidebar facet and search filter for dc.type should show up. When reindexing your dspace, try to monitor your dspace.log (ie tail -f [dspace]/log/dspace.log.2014-12-10) for any messages that would give hints why your sidebar facet is not showing. Also, try

[Dspace-tech] Query to get ID of thumbnail of primary bitstream

2014-12-10 Thread Mark Ehle
Folks - I am in need of a way to query postgres in Dspace to give me the ID of the primary bitstream's thumbnail ID. I am able to get the primary bitstream ID from the handle (thanks to helix84 http://dspace.2283337.n4.nabble.com/template/NamlServlet.jtp?macro=user_nodesuser=211466,

Re: [Dspace-tech] Query to get ID of thumbnail of primary bitstream

2014-12-10 Thread Terry Brady
The following query might help. I use this to generate thumbnail links in a PHP report tool. This assumes you have already queried an item from table item i. You would need additional logic to extract the primary bitstream. select array_to_string(array_agg(text('{$handleContext}/bitstream/id/'

Re: [Dspace-tech] Query to get ID of thumbnail of primary bitstream

2014-12-10 Thread Brown, Jacob
Hi Mark, Not sure if what you are using the query for, but if you are using it inside a Java application, DSpace provides a [service](https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/content/service/ItemService.java) to get the primary bitstream’s thumbnail for

[Dspace-tech] 3rd install....and jspui keeps throwing an error (whils xmlui is just fine)

2014-12-10 Thread Goran Ivaz
An internal server error occurred on http://Apex4.lib2k.bcit.ca:8080/xmlui: Date: 12/10/14 2:29 PM Session ID: 235C5819669FA6D8F829149F74A4D345 User: Anonymous IP address: 142.232.42.62 -- URL Was: http://142.232.42.56:8080/jspui/internal-error -- Method: GET -- Parameters