[Dspace-tech] [dspace-tech]: DSpace localization limitation!

2015-08-23 Thread Nada Abo-Eita
Dear DSpace Community,

I am working on translating our dspace version 4.2 XMLUI theme into Arabic.

But I have just noticed that in XMLUI is not possible to translate
input-forms.xml and license.xml (Only works with JSPUI)

So I just want to ask if there is any batch that can be applied to solve
this problem, because translating the item-submission is very important as
its one of the main functionalities of IR.


Regards,
Nada Abo-Eita
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] [DSpace-tech]: Null pointer Exception with item submission!

2015-04-09 Thread Nada Abo-Eita
Dear Dspace Community,

I am running dspace 4.2 and I have problem with item submission. I’m
getting java.lang.NullPointerException sometimes when I am submitting an
item right before I get to the CC Licensing step.

I didn't get this error always when submit an item, sometimes It appears
and sometimes not.

Java stacktrace [hide]

java.lang.NullPointerException
at 
org.dspace.app.xmlui.aspect.submission.submit.CCLicenseStep.addBody(CCLicenseStep.java:127)
at 
org.dspace.app.xmlui.aspect.submission.StepTransformer.addBody(StepTransformer.java:145)
at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:223)
at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
at com.sun.proxy.$Proxy47.startElement(Unknown Source)
at 
org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87)
at 
org.apache.cocoon.components.sax.AbstractXMLByteStreamInterpreter.parse(AbstractXMLByteStreamInterpreter.java:117)
at 
org.apache.cocoon.components.sax.XMLByteStreamInterpreter.deserialize(XMLByteStreamInterpreter.java:44)
at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:324)
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:750)
at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
at com.sun.proxy.$Proxy38.process(Unknown Source)
at 
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:362)
at 
org.apache.cocoon.components.source.util.SourceUtil.toSAX(SourceUtil.java:111)
at 
org.apache.cocoon.components.source.util.SourceUtil.parse(SourceUtil.java:294)
at 
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:136)
at sun.reflect.GeneratedMethodAccessor125.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
at com.sun.proxy.$Proxy39.generate(Unknown Source)
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:544)
at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:273)
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:750)
at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
at com.sun.proxy.$Proxy38.process(Unknown Source)
at 
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:362)
at 
org.apache.cocoon.components.source.util.SourceUtil.toSAX(SourceUtil.java:111)
at 
org.apache.cocoon.components.source.util.SourceUtil.parse(SourceUtil.java:294)
at 
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:136)
at sun.reflect.GeneratedMethodAccessor125.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
at com.sun.proxy.$Proxy39.generate(Unknown Source)
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:544)
at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:273)
at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:750)
at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
at 

Re: [Dspace-tech] Item Submission Form Solr Statistics!

2015-03-27 Thread Nada Abo-Eita
Thnx Sean it works. I changed start.year and it works :).

But I have one more question, if possible.
I noticed that if I import set of  items into my dspace instance using *the
packager technique*, the items archived count doesn't increase ( it seems
that those items not counted as archived items).

OTOH, if I submit an item into my repository using the item-submission
workflow (/submit), then the items archived count increase.

So do you know why the count doesn't increase in-case of importing using
packager technique?



On Mon, Mar 23, 2015 at 1:26 PM, Nada Abo-Eita naboeit...@gmail.com wrote:

 Thnx Sean for your reply.
 I'll check that and let you know.

 Regards,
 Nada Abo-Eita

 On Tue, Mar 17, 2015 at 2:26 PM, Sean Carte sean.ca...@gmail.com wrote:


 On 16 March 2015 at 18:42, Nada Abo-Eita naboeit...@gmail.com wrote:


 Does any one have an idea why it shows only 46 as archived ?


 Those 46 items were archived between Mar. 2 and Mar. 14.

 Check your start.year and start.month in dstat.cfg.

 Sean
 --



--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] [dspace-tech]:RSS feeds

2015-03-23 Thread Nada Abo-Eita
Hi All,

Kindly, I have two questions related to RSS feeds on dspace.

As I understood so far, RSS feeds at each level (site, collection, or
community level) show the latest items that have been added to that area.

I am wondering if there is a way to get top 10 items *per month*?. For
example,  Get the most recent 10 items submitted in January under
collection (x).


My second question regarding to rss feed web development. If I want to
style the rss feed web interface, for example, changing the way the list of
items are listed. So where can I find the css and the xsl templates
responsible for that?
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Item Submission Form Solr Statistics!

2015-03-23 Thread Nada Abo-Eita
Thnx Sean for your reply.
I'll check that and let you know.

Regards,
Nada Abo-Eita

On Tue, Mar 17, 2015 at 2:26 PM, Sean Carte sean.ca...@gmail.com wrote:


 On 16 March 2015 at 18:42, Nada Abo-Eita naboeit...@gmail.com wrote:


 Does any one have an idea why it shows only 46 as archived ?


 Those 46 items were archived between Mar. 2 and Mar. 14.

 Check your start.year and start.month in dstat.cfg.

 Sean
 --


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Item Submission Form Solr Statistics!

2015-03-16 Thread Nada Abo-Eita
Dear DSpace Community,

Kindly, I have two questions related to item submission form and solr
statistics.

Configuring Item Submission :

We are using DSpace XMLUI version 4.2 and we want to enable start
submission lookup step in XMLUI, but based on this :

https://wiki.duraspace.org/display/DSDOC4x/Submission+User+Interface#SubmissionUserInterface-ConfiguringStartSubmissionLookupStep
https://qumail.qu.edu.qa/owa/redir.aspx?C=_ZEtavdFIk699CUx0QwAPSxHiQKeM9IIZ8m5a8-rprEt_PYC_it4Ri49rfMKT2Zug7Dr_XVhwhA.URL=https%3a%2f%2fwiki.duraspace.org%2fdisplay%2fDSDOC4x%2fSubmission%2bUser%2bInterface%23SubmissionUserInterface-ConfiguringStartSubmissionLookupStep

It seems that this new feature only available with JSPUI. Is there a way to
enable it for XMLUI too?


Solr statistics :
--
 I run the following commands:
./dspace stat-general
./dspace stat-report-general

And the statistics generated successfully in my DSpace. (Please find the
attached snapshot).

However, there is something strange with my statistics. Under the *General
overview,* the number of Archived items is 46. OTOH, under the *Archive
information*, the number of all items is 2920. And because all items in
my DSpace are already archived then the number of Archived items should be
2920 not 46.

Does any one have an idea why it shows only 46 as archived ?

Regards,
Nada Abo-Eita
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] [DSpace-tech]: user profile

2015-02-22 Thread Nada Abo-Eita
Hi Hilton,

Thank you for your replay.
When we conduct ldap search for a specific  user, it gets all of these
attributes about the user:

   - DN
   - uid
   - pdsLoginId
   - pdsLoginAlias
   - pdsIMSEnterpriseSourcedId
   - displayName
   - sn
   - givenName
   - pdsRole
   - mail
   - pdsCredentialExpired
   - pdsAccountCredentialChanged
   - ou
   - departmentNumber
   - manager
   - pdsGender
   - o
   - cn
   - telephoneNumber
   - pdsLoginSuccess
   - pdsLoginFailure


So my concern here, Since ldap server is able to get all of the above, then
Why the First Name, Last Name, telephone number are empty in dspace user
form?

On Wed, Feb 18, 2015 at 12:31 PM, Hilton Gibson hilton.gib...@gmail.com
wrote:

 Hi

 Can you supply a sample LDAP account attributes?
 See:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/User_Management#Conduct_LDAP_search

 I presume this is about: http://qspace.qu.edu.qa

 Cheers

 hg

 *Hilton Gibson*
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025C
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa

 Tel: +27 21 808 4100 | Cell: +27 84 646 4758

 On 18 February 2015 at 11:15, Nada Abo-Eita naboeit...@gmail.com wrote:


 Dears,

 we are experiencing problem with populating e-person profile. Once the
 user logged in, only email address is filled. OTH, for the others (First
 name, Last name, Telephone Number) are empty. ( attached profile example )

 So far this is how my authentication-ldap.cfg looks like:

 autoregister = true

 provider_url = ldap://ldap.qu.edu.qa:389/

 #object context

 object_context = ou=people,o=qu.edu.qa,o=cp   # my ldap server DN

 #search context

 search_context = ou=people,o=qu.edu.qa,o=cp

 email_field = mail

 surname_field = sn

 givenname_field = givenName

 phone_field = telephoneNumber


 Can someone help me figuring out Whats missing here? Do I need to
 configure this somewhere else?




 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] [DSpace-tech]: user profile

2015-02-18 Thread Nada Abo-Eita
Dears,

we are experiencing problem with populating e-person profile. Once the user
logged in, only email address is filled. OTH, for the others (First name,
Last name, Telephone Number) are empty. ( attached profile example )

So far this is how my authentication-ldap.cfg looks like:

autoregister = true

provider_url = ldap://ldap.qu.edu.qa:389/

#object context

object_context = ou=people,o=qu.edu.qa,o=cp   # my ldap server DN

#search context

search_context = ou=people,o=qu.edu.qa,o=cp

email_field = mail

surname_field = sn

givenname_field = givenName

phone_field = telephoneNumber


Can someone help me figuring out Whats missing here? Do I need to configure
this somewhere else?
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] : Upload bitstream problem

2015-02-17 Thread Nada Abo-Eita
Thank you helix for your reply.

Kindly find the attached file for  the full stacktrace.

please note that I am using dspace version 4.2

On Wed, Feb 18, 2015 at 1:02 AM, helix84 heli...@centrum.sk wrote:

 On Tue, Feb 17, 2015 at 3:59 PM, Nada Abo Eita naboeit...@gmail.com
 wrote:

 I am using DSpace xmlui version 4.2 and trying to upload bitstream but it
 gives No Such file or directory Exception.


 We'll need the full stacktrace of the No such file or directory exception
 from dspace.log. Also read the Etiquette link below and always state your
 version information.


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




Java stacktrace
-
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:1006)
at edu.sdsc.grid.io.local.LocalFile.createNewFile(LocalFile.java:486)
at 
org.dspace.storage.bitstore.BitstreamStorageManager.store(BitstreamStorageManager.java:300)
at org.dspace.content.Bitstream.create(Bitstream.java:205)
at org.dspace.content.Bundle.createBitstream(Bundle.java:384)
at 
org.dspace.submit.step.UploadWithEmbargoStep.processUploadFile(UploadWithEmbargoStep.java:387)
at 
org.dspace.submit.step.UploadWithEmbargoStep.doProcessing(UploadWithEmbargoStep.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
at 
org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
at 
org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3237)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2394)
at 
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
at 
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
at 
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
at 
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:160)
at org.mozilla.javascript.Context.call(Context.java:538)
at 
org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1833)
at 
org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1803)
at 
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.handleContinuation(FOM_JavaScriptInterpreter.java:698)
at 
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:94)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
at 
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at 
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:82)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:81)
at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:239)
at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:186)
at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:260)
at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:107)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)
at 
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:87)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
at 
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78

[Dspace-tech] : Upload bitstream problem

2015-02-17 Thread Nada Abo Eita


Dear DSpace Community, 

I am using DSpace xmlui version 4.2 and trying to upload bitstream but it gives 
No Such file or directory Exception. 

Uploading bitstream was working in the past, I have no idea why it doesn't work 
now?

Please help me figuring out what's wrong? Your help is appreciated 

Regards, 
Nada Abo-Eita 


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Solr Statistics problem

2015-02-17 Thread Nada Abo-Eita
Hi all,

we are getting this solr statistics error in dspace.log:

* org.dspace.app.xmlui.aspect.statistics.StatisticsTransformer @ Error
occurred while creating statistics for home page*

*org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
Server at http://tspace.qu.edu.qa:8080/solr/statistics
http://tspace.qu.edu.qa:8080/solr/statistics returned non ok status:500,
message:Internal Server Error*


I tried to run the following command to check if there is any problem with
solr/statistics and there is no problem with that ( I got 200 OK) :

*Command: *wget 10.100.64.41:8080/solr/#/statistics

*Output: *--2015-02-17 21:36:23--  http://10.100.64.41:8080/solr/
  Connecting to 10.100.64.41:8080... connected.
  HTTP request sent, awaiting response... 200 OK

Does any one have an idea why still I am not able to get the statistics in
dspace?
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] [DSpace-tech]: Library of Congress Subject headings !

2015-02-16 Thread Nada Abo-Eita
Dear All,

I have some confusion regarding LC (Library of Congress) Authority control
services provided by dspace.

So far what I understood from dspace documentations, that dspace
implemented Library of Congress Authority *Names *services .

What about if I want to control Item subjects (dc.subject)  using Library
of Congress *Subject headings*?!!

Is that supported by dspace?

Regards,
Nada Abo-Eita
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Advanced Search...

2015-02-16 Thread Nada Abo-Eita
I had exactly the same problem.

go to http://your.dspace.org/DRI/  (Digital repository interface of dspace
homepage)

and then check if /simpleURL == /advancedURL
metadata element=search qualifier=simpleURL/discover/metadata
metadata element=search qualifier=advancedURL/discover/metadata

If they are equal then that's why advance search link doesn't show up.
Check this:
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/themes/dri2xhtml-alt/core/navigation.xsl#L106




On Mon, Feb 16, 2015 at 11:32 AM, Layale Bassil l...@aub.edu.lb wrote:

 Hello All,



 Why I can’t find the “Advanced Search” link in my Dspace installed version
 4.2 using the Mirage theme?



 Please advise whether I have to enable it somewhere?



 Thanks in advance,

 Regards.


 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Advanced Search...

2015-02-16 Thread Nada Abo-Eita
What do you mean by empty?
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] LC Subject Heading Authority Control problem!

2015-02-08 Thread Nada Abo-Eita
Hi All,

I want to enable Authority control for subject keyword in my dspace
instance (Library of Congress Subject Heading). So far,  I did the
following in dspace.cfg:

1- Uncomment these lines

* plugin.named.org.dspace.content.authority.ChoiceAuthority = \*
* org.dspace.content.authority.SampleAuthority = Sample, \*
* org.dspace.content.authority.LCNameAuthority = LCNameAuthority, \*
* org.dspace.content.authority.SHERPARoMEOPublisher = SRPublisher, \*
* org.dspace.content.authority.SHERPARoMEOJournalTitle = SRJournalTitle*

2- Configure LC Name plugin

*  lcname.url = http://alcme.oclc.org/srw/search/lcnaf
http://alcme.oclc.org/srw/search/lcnaf*

3- Using LC plugin for subject headings, by doing the following :

  *choices.plugin.dc.subject.lcsh=  LCNameAuthority*
*  choices.presentation.dc.subject.lcsh = lookup*
*  authority.controlled.dc.subject.lcsh = true  *

The problem when I tried to lookup for subjects it gives untranslated.
For more clarification, please find the attached screenshot.


am n't sure if this is the correct way to enable Authority control for
dc.subject using Library of Congress Subject Heading.
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] LDAP Authentication - login.specialgroup property

2015-01-07 Thread Nada Abo-Eita
Dear DSpace community,

I want any user log in to dspace to be member of the students group (Note
that this group is already created on dspace). So to do that, I changed the
login.specialgroup to Students in authentication-ldap.cfg and then
restart tomcat. But it doesn't work with me.

Can someone help me figuring out Whats missing here?

Regards,

Nada Abo-Eita
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] LDAP Authentication - login.specialgroup property

2015-01-07 Thread Nada Abo-Eita
Hi helix,

I did exactly what you mentioned here
http://dspace.2283337.n4.nabble.com/Adding-e-people-into-groups-automatically-td4675556.html

Based on my changes if any user log in to dspace then they should become a
member of the specified group in login.specialgroup property in my case
(students group).   [ This is how it should be ]

But what happened with me, the user log in to dspace fine* but without*
being a member of the students group [ My problem ].

I hope its clear now.


Regards,

Nada Abo-Eita



On Wed, Jan 7, 2015 at 1:34 PM, helix84 heli...@centrum.sk wrote:

 I already answered your question here:


 http://dspace.2283337.n4.nabble.com/Adding-e-people-into-groups-automatically-td4675556.html

 Can you specify what exactly doesn't seem to work?


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] [DSpace-tech]: Search filter by MIME type

2014-12-30 Thread Nada Abo-Eita
Dear DSpace Community,

I have added the mime type (dc.format.mimetype) search filter successfully.
However when I tried to search for the items which has PDF bitstreams ( *using
the advanced search*), it doesn't work. It gives me search produce no
results, even though there are PDF bitstreams in my dspace instance. Please
find the attached snap shot.

On the other hand,  I tried to search using the *simple search* by this
query PDF and it works . It gives me all the items which has PDF
bitstreams.

Can some one tell me what's the difference between both and why the search
filter by dc.format.mimetype doesn't work?

Regards,
Nada Abo-Eita
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] [DSpace-tech]: Search filter by MIME type

2014-12-30 Thread Nada Abo-Eita
Thank you helix for your reply.

I have one more question if possible, What If I want to add *search by any
metadata field* as one of my search filters, Can I do that and how to
define that in discovery.xml?

Regards,

Nada Abo Eita

On Tue, Dec 30, 2014 at 10:44 PM, helix84 heli...@centrum.sk wrote:

 On Tue, Dec 30, 2014 at 8:07 PM, Nada Abo-Eita naboeit...@gmail.com
 wrote:
  Can some one tell me what's the difference between both and why the
 search
  filter by dc.format.mimetype doesn't work?

 dc.format.mimetype is just a normal metadata field, which means you'd
 have to add values to it yourself. It is not populated by DSpace when
 you upload a bitstream (and it can't be, since it's a field of the
 item, not of a bitstream, for which there is a 1:N mapping). Check the
 full view of any item with a bitstream and you'll see it's not there
 because it doesn't have any values.

 Searching for pdf probably works for you because you have the file
 name somewhere within a metadata field.


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

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

2014-12-16 Thread Nada Abo-Eita
Thank you all guys for your time and your help.

I managed to solve the problem.

Basically the problem was with renaming the old versions of dsicovery.xml
to something like that discovery-old-16-Dec-14.xml, and What I noticed
that the old files was picked up instead of the updated file.

So When I delete the old versions (discovery-old-16-Dec-14.xml) from
config/spring/api directory, it works fine :)






On Tue, Dec 16, 2014 at 8:46 AM, Terry Brady terry.br...@georgetown.edu
wrote:

 Yes.  That is the default.

 If you happen to try my suggestion #1, please post results to the list.

 Terry


 On Monday, December 15, 2014, Nada Abo-Eita naboeit...@gmail.com wrote:

 Hi Terry,

 Regarding (2), Actually I didn't change any setting to indicate if it
 will be across the entire repository or across a specific
 collection/community.

 But I think it should be applied by default across entire repository,
 right?


 On Tue, Dec 16, 2014 at 12:17 AM, Terry Brady terry.br...@georgetown.edu
  wrote:

 Nada,

 I have found the facets to be tricky to configure.  I have 2 suggestions
 that might help.

 1. You have defined the facet as a SearchFilterFacet.

 After running a search, are you able to add a filter (from the search
 filter drop down) based on Type?  If you see the filter in the drop down
 list, does the filter work correctly?

 If so, you might want to change the fact to a HierarchicalSidebarFacet.
 This might be required to make the facet appear in the sidebar.

 bean id=searchFilterType

 class=org.dspace.discovery.configuration.HierarchicalSidebarFacetConfiguration
 property name=indexFieldName value=type/
 property name=metadataFields
 list
 valuedc.type/value
 /list
 /property
 property name=facetLimit value=5/
 property name=sortOrder value=COUNT/
 property name=splitter value=::/
 /bean

 2. When you added searchFilterType to sidebarFacets and to
 searchFilters, did you apply the setting across your entire repository, or
 did you apply it to a specific collection or community?  Facet definitions
 do not inherit from the community/collection hierarchy as themes inherit.

 Good luck,

 Terry

 On Wed, Dec 10, 2014 at 2:30 AM, Nada Abo-Eita naboeit...@gmail.com
 wrote:


 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
 configuration and homepage specific configuration for discovery.

 2- Also I define the search filter bean in discovery.xml

 bean id=searchFilterType
 class=org.dspace.discovery.configuration.DiscoverySearchFilterFacet
 property name=indexFieldName value=type/
 property name=metadataFields
 list
 valuedc.type/value
 /list
 /property
 property name=facetLimit value=10/
 property name=sortOrder value=COUNT/
 /bean

 3- add webui.browse.index.5=type:metadata:dc.type:text to dspace.cfg
 file.

 4- Edit the*
 /webapps/xmlui/WEB-INF/classes/aspects/Discovery/i18n/messages.xml,*
 by adding:

   message
 key=xmlui.ArtifactBrowser.SimpleSearch.filter.typeType/message
 message
 key=xmlui.ArtifactBrowser.SimpleSearch.filter.type_filterType/message

 5- Then clear cocoon cache, restart tomcat and run ./dspace
 index-discovery -b.

 After doing above steps, TYPE option appears only in the browse by
 navigation, but It doesn't appear as a discover sidebar facets/search
 filters.

 Can you help me figuring out What missing here?

 Regards,

 Nada Abo-Eita





 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration 
 more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



 --
 Terry Brady
 Applications Programmer Analyst
 Georgetown University Library Information Technology
 https://www.library.georgetown.edu/lit/code
 425-298-5498



 --
 Sent from Gmail Mobile

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion

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

2014-12-15 Thread Nada Abo Eita

Thank you Hilton for your reply,  I added search.index.13=type:dc.type to 
dspace.cfg, And do reindexing using index-discovery command, but nothing worked 
Any assist please? 
It's very important to add TYPE as a facet in my dspace. 

Note that I'm using dspace version 4.2 



 On 14 Dec,2014, at 9:47 PM, Hilton Gibson hilton.gib...@gmail.com wrote:
 
 Yes, see: 
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Browse_Indexes/4.X#Step_2_-_Setup_custom_browse_indexes
 
 Hilton Gibson
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025C
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa
 
 Tel: +27 21 808 4100 | Cell: +27 84 646 4758
 
 On 14 December 2014 at 19:59, Nada Abo-Eita naboeit...@gmail.com wrote:
 
 Do I need to add search.index.id = type:dc.type  to dspace.cfg ? 
 
 On Sun, Dec 14, 2014 at 12:06 PM, Nada Abo-Eita naboeit...@gmail.com 
 wrote:
 Thank you all for your reply. 
 
 I did exactly what you mentioned (add Advanced search message [ message 
 key=xmlui.ArtifactBrowser.AdvancedSearch.type_typeType/message ], and 
 then clear cache and restart tomcat ], But still no result. 
 
 I check my dspace log, and I noticed that it seems dspace can't see the 
 messages I added: 
 
 message key=xmlui.ArtifactBrowser.SimpleSearch.filter.typeType/message
 message 
 key=xmlui.ArtifactBrowser.SimpleSearch.filter.type_filterType/message
 message key=xmlui.ArtifactBrowser.AdvancedSearch.type_typeType/message
 
 On the other hand, I checked this link http: 
 //wiki.lib.sun.ac.za/index.php/SUNScholar/Discovery/4.X
 And just noticed that I forget to add this message : 
 message 
 key=xmlui.ArtifactBrowser.SimpleSearch.filter.dc.typeType/message
 Does someone know if missing this message cause the problem?
 
 
 On Wed, Dec 10, 2014 at 2:27 PM, euler esne...@seafdec.org.ph wrote:
 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 to do a hard
 refresh/reload of your browser by pressing ctrl+F5.
 
 Hope this help.
 
 Regards,
 euler
 
 
 
 --
 View this message in context: 
 http://dspace.2283337.n4.nabble.com/DSpace-tech-Configure-Discovery-Facets-problem-tp4675850p4675854.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.
 
 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE
 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

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

2014-12-15 Thread Nada Abo-Eita
That's already done in the xml I sent

ref bean=serachFilterType /  added to both search filter sidebar facets
under defaultConfiguration.

Is that what you mean?


On Mon, Dec 15, 2014 at 9:02 PM, Mark Diggory mdigg...@atmire.com wrote:

 Nada,

 Looks reasonable, If you add the type facet/filter to your
 defaultConfiguration, does it show after reindexing?

 Regards,
 Mark


 On Mon, Dec 15, 2014 at 9:50 AM, Nada Abo-Eita naboeit...@gmail.com
 wrote:

 Hi Mark,

 Kindly find the attached file for discovery.xml

 Regarding (a) I tried to run the command using -f option but nothing
 changed, and (b) I checked that too.





 On Mon, Dec 15, 2014 at 8:37 PM, Mark Diggory mdigg...@atmire.com
 wrote:

 Hello Nada,

 Setting up different facets is part of Discovery. As pointed out earlier
 in the thread, your original posting looks like your getting most of the
 config correct. If you post your discovery.xml, we can take a look and
 advise on where the error may lie.

 a.) note, in regards to (5) in your original email, you might also try: 
 *./dspace
 index-discovery -f*

 b.) also note, do your Items already have the metadata field dc.type
 populated? The facet will not show  in navigation unless there is data.

 https://wiki.duraspace.org/display/DSDOC4x/Discovery

 Best,
 Mark


 On Mon, Dec 15, 2014 at 8:57 AM, Hilton Gibson hilton.gib...@gmail.com
 wrote:

 Hi Nada

 I cannot help beyond providing the wiki page link. Sorry.

 Cheers

 hg

 *Hilton Gibson*
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025C
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa

 Tel: +27 21 808 4100 | Cell: +27 84 646 4758

 On 15 December 2014 at 18:00, Nada Abo Eita naboeit...@gmail.com
 wrote:


 Thank you Hilton for your reply,  I added search.index.13=type:dc.type
 to dspace.cfg, And do reindexing using index-discovery command, but 
 nothing
 worked
 Any assist please?
 It's very important to add TYPE as a facet in my dspace.

 Note that I'm using dspace version 4.2



 On 14 Dec,2014, at 9:47 PM, Hilton Gibson hilton.gib...@gmail.com
 wrote:

 Yes, see:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Browse_Indexes/4.X#Step_2_-_Setup_custom_browse_indexes

 *Hilton Gibson*
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025C
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa

 Tel: +27 21 808 4100 | Cell: +27 84 646 4758

 On 14 December 2014 at 19:59, Nada Abo-Eita naboeit...@gmail.com
 wrote:


 Do I need to add search.index.id = type:dc.type  to dspace.cfg ?

 On Sun, Dec 14, 2014 at 12:06 PM, Nada Abo-Eita naboeit...@gmail.com
  wrote:

 Thank you all for your reply.

 I did exactly what you mentioned (add Advanced search message [ message
 key=xmlui.ArtifactBrowser.AdvancedSearch.type_typeType/message
 ], and then clear cache and restart tomcat ], But still no result.

 I check my dspace log, and I noticed that it seems dspace can't see
 the messages I added:

 message
 key=xmlui.ArtifactBrowser.SimpleSearch.filter.typeType/message
 message
 key=xmlui.ArtifactBrowser.SimpleSearch.filter.type_filterType/message
 message
 key=xmlui.ArtifactBrowser.AdvancedSearch.type_typeType/message

 On the other hand, I checked this link http: //
 wiki.lib.sun.ac.za/index.php/SUNScholar/Discovery/4.X
 And just noticed that I forget to add this message :

 message 
 key=xmlui.ArtifactBrowser.SimpleSearch.filter.*dc.type*Type/message

 Does someone know if missing this message cause the problem?



 On Wed, Dec 10, 2014 at 2:27 PM, euler esne...@seafdec.org.ph
 wrote:

 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 to do a
 hard
 refresh/reload of your browser by pressing ctrl+F5.

 Hope this help.

 Regards,
 euler



 --
 View this message in context:
 http://dspace.2283337.n4.nabble.com/DSpace-tech-Configure-Discovery-Facets-problem-tp4675850p4675854.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.


 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and
 Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration
  more
 Get technology previously reserved for billion-dollar corporations,
 FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

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

2014-12-15 Thread Nada Abo-Eita
Mark,

I am working with the installation directory [dspace] NOT with [dspace-src].
Regarding consistency, search Filter Type bean is just added to
discovery.xml in [dspace], NOT [dspace-src]/../discovery.xml

Does that mean Discovery configuration should be done in [dspace-src]?


On Mon, Dec 15, 2014 at 9:08 PM, Mark Diggory mdigg...@atmire.com wrote:

 Nada,

 Disregard that last request, yes it is present there already.

 1.) Please confirm this file is consistent with what is in your deployment
 [dspace.dir]/config/spring/api/discovery.xml file and make sure there are
 no other copies of the file with an xml extension present in that folder.

 2.) try commenting out the homepageConfiguration in your mapping and see
 if the defaultConfiguration shows a type facet after rebuilding.

 Mark

 On Mon, Dec 15, 2014 at 10:06 AM, Nada Abo-Eita naboeit...@gmail.com
 wrote:

 That's already done in the xml I sent

 ref bean=serachFilterType /  added to both search filter sidebar
 facets under defaultConfiguration.

 Is that what you mean?


 On Mon, Dec 15, 2014 at 9:02 PM, Mark Diggory mdigg...@atmire.com
 wrote:

 Nada,

 Looks reasonable, If you add the type facet/filter to your
 defaultConfiguration, does it show after reindexing?

 Regards,
 Mark


 On Mon, Dec 15, 2014 at 9:50 AM, Nada Abo-Eita naboeit...@gmail.com
 wrote:

 Hi Mark,

 Kindly find the attached file for discovery.xml

 Regarding (a) I tried to run the command using -f option but nothing
 changed, and (b) I checked that too.





 On Mon, Dec 15, 2014 at 8:37 PM, Mark Diggory mdigg...@atmire.com
 wrote:

 Hello Nada,

 Setting up different facets is part of Discovery. As pointed out
 earlier in the thread, your original posting looks like your getting most
 of the config correct. If you post your discovery.xml, we can take a look
 and advise on where the error may lie.

 a.) note, in regards to (5) in your original email, you might also
 try: *./dspace index-discovery -f*

 b.) also note, do your Items already have the metadata field dc.type
 populated? The facet will not show  in navigation unless there is data.

 https://wiki.duraspace.org/display/DSDOC4x/Discovery

 Best,
 Mark


 On Mon, Dec 15, 2014 at 8:57 AM, Hilton Gibson 
 hilton.gib...@gmail.com wrote:

 Hi Nada

 I cannot help beyond providing the wiki page link. Sorry.

 Cheers

 hg

 *Hilton Gibson*
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025C
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa

 Tel: +27 21 808 4100 | Cell: +27 84 646 4758

 On 15 December 2014 at 18:00, Nada Abo Eita naboeit...@gmail.com
 wrote:


 Thank you Hilton for your reply,  I added
 search.index.13=type:dc.type to dspace.cfg, And do reindexing using
 index-discovery command, but nothing worked
 Any assist please?
 It's very important to add TYPE as a facet in my dspace.

 Note that I'm using dspace version 4.2



 On 14 Dec,2014, at 9:47 PM, Hilton Gibson hilton.gib...@gmail.com
 wrote:

 Yes, see:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Browse_Indexes/4.X#Step_2_-_Setup_custom_browse_indexes

 *Hilton Gibson*
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025C
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa

 Tel: +27 21 808 4100 | Cell: +27 84 646 4758

 On 14 December 2014 at 19:59, Nada Abo-Eita naboeit...@gmail.com
 wrote:


 Do I need to add search.index.id = type:dc.type  to dspace.cfg
 ?

 On Sun, Dec 14, 2014 at 12:06 PM, Nada Abo-Eita 
 naboeit...@gmail.com wrote:

 Thank you all for your reply.

 I did exactly what you mentioned (add Advanced search message [ 
 message
 key=xmlui.ArtifactBrowser.AdvancedSearch.type_typeType/message
 ], and then clear cache and restart tomcat ], But still no result.

 I check my dspace log, and I noticed that it seems dspace can't
 see the messages I added:

 message
 key=xmlui.ArtifactBrowser.SimpleSearch.filter.typeType/message
 message
 key=xmlui.ArtifactBrowser.SimpleSearch.filter.type_filterType/message
 message
 key=xmlui.ArtifactBrowser.AdvancedSearch.type_typeType/message

 On the other hand, I checked this link http: //
 wiki.lib.sun.ac.za/index.php/SUNScholar/Discovery/4.X
 And just noticed that I forget to add this message :

 message 
 key=xmlui.ArtifactBrowser.SimpleSearch.filter.*dc.type*Type/message

 Does someone know if missing this message cause the problem?



 On Wed, Dec 10, 2014 at 2:27 PM, euler esne...@seafdec.org.ph
 wrote:

 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 to do
 a hard
 refresh/reload of your browser by pressing ctrl+F5.

 Hope this help.

 Regards,
 euler



 --
 View this message in context:
 http://dspace.2283337.n4.nabble.com/DSpace-tech-Configure

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

2014-12-15 Thread Nada Abo-Eita
Hi Mark,

Kindly find the attached file for discovery.xml

Regarding (a) I tried to run the command using -f option but nothing
changed, and (b) I checked that too.





On Mon, Dec 15, 2014 at 8:37 PM, Mark Diggory mdigg...@atmire.com wrote:

 Hello Nada,

 Setting up different facets is part of Discovery. As pointed out earlier
 in the thread, your original posting looks like your getting most of the
 config correct. If you post your discovery.xml, we can take a look and
 advise on where the error may lie.

 a.) note, in regards to (5) in your original email, you might also try: 
 *./dspace
 index-discovery -f*

 b.) also note, do your Items already have the metadata field dc.type
 populated? The facet will not show  in navigation unless there is data.

 https://wiki.duraspace.org/display/DSDOC4x/Discovery

 Best,
 Mark


 On Mon, Dec 15, 2014 at 8:57 AM, Hilton Gibson hilton.gib...@gmail.com
 wrote:

 Hi Nada

 I cannot help beyond providing the wiki page link. Sorry.

 Cheers

 hg

 *Hilton Gibson*
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025C
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa

 Tel: +27 21 808 4100 | Cell: +27 84 646 4758

 On 15 December 2014 at 18:00, Nada Abo Eita naboeit...@gmail.com wrote:


 Thank you Hilton for your reply,  I added search.index.13=type:dc.type
 to dspace.cfg, And do reindexing using index-discovery command, but nothing
 worked
 Any assist please?
 It's very important to add TYPE as a facet in my dspace.

 Note that I'm using dspace version 4.2



 On 14 Dec,2014, at 9:47 PM, Hilton Gibson hilton.gib...@gmail.com
 wrote:

 Yes, see:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Browse_Indexes/4.X#Step_2_-_Setup_custom_browse_indexes

 *Hilton Gibson*
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025C
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa

 Tel: +27 21 808 4100 | Cell: +27 84 646 4758

 On 14 December 2014 at 19:59, Nada Abo-Eita naboeit...@gmail.com
 wrote:


 Do I need to add search.index.id = type:dc.type  to dspace.cfg ?

 On Sun, Dec 14, 2014 at 12:06 PM, Nada Abo-Eita naboeit...@gmail.com
 wrote:

 Thank you all for your reply.

 I did exactly what you mentioned (add Advanced search message [ message
 key=xmlui.ArtifactBrowser.AdvancedSearch.type_typeType/message
 ], and then clear cache and restart tomcat ], But still no result.

 I check my dspace log, and I noticed that it seems dspace can't see
 the messages I added:

 message
 key=xmlui.ArtifactBrowser.SimpleSearch.filter.typeType/message
 message
 key=xmlui.ArtifactBrowser.SimpleSearch.filter.type_filterType/message
 message
 key=xmlui.ArtifactBrowser.AdvancedSearch.type_typeType/message

 On the other hand, I checked this link http: //
 wiki.lib.sun.ac.za/index.php/SUNScholar/Discovery/4.X
 And just noticed that I forget to add this message :

 message 
 key=xmlui.ArtifactBrowser.SimpleSearch.filter.*dc.type*Type/message

 Does someone know if missing this message cause the problem?



 On Wed, Dec 10, 2014 at 2:27 PM, euler esne...@seafdec.org.ph wrote:

 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 to do a
 hard
 refresh/reload of your browser by pressing ctrl+F5.

 Hope this help.

 Regards,
 euler



 --
 View this message in context:
 http://dspace.2283337.n4.nabble.com/DSpace-tech-Configure-Discovery-Facets-problem-tp4675850p4675854.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.


 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and
 Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration 
 more
 Get technology previously reserved for billion-dollar corporations,
 FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech

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

2014-12-14 Thread Nada Abo-Eita
Thank you all for your reply.

I did exactly what you mentioned (add Advanced search message [ message
key=xmlui.ArtifactBrowser.AdvancedSearch.type_typeType/message ], and
then clear cache and restart tomcat ], But still no result.

I check my dspace log, and I noticed that it seems dspace can't see the
messages I added:

message key=xmlui.ArtifactBrowser.SimpleSearch.filter.typeType/message
message
key=xmlui.ArtifactBrowser.SimpleSearch.filter.type_filterType/message
message key=xmlui.ArtifactBrowser.AdvancedSearch.type_typeType/message

On the other hand, I checked this link http: //
wiki.lib.sun.ac.za/index.php/SUNScholar/Discovery/4.X
And just noticed that I forget to add this message :

message 
key=xmlui.ArtifactBrowser.SimpleSearch.filter.*dc.type*Type/message

Does someone know if missing this message cause the problem?



On Wed, Dec 10, 2014 at 2:27 PM, euler esne...@seafdec.org.ph wrote:

 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 to do a hard
 refresh/reload of your browser by pressing ctrl+F5.

 Hope this help.

 Regards,
 euler



 --
 View this message in context:
 http://dspace.2283337.n4.nabble.com/DSpace-tech-Configure-Discovery-Facets-problem-tp4675850p4675854.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.


 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

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

2014-12-14 Thread Nada Abo-Eita
Do I need to add search.index.id = type:dc.type  to dspace.cfg ?

On Sun, Dec 14, 2014 at 12:06 PM, Nada Abo-Eita naboeit...@gmail.com
wrote:

 Thank you all for your reply.

 I did exactly what you mentioned (add Advanced search message [ message
 key=xmlui.ArtifactBrowser.AdvancedSearch.type_typeType/message ],
 and then clear cache and restart tomcat ], But still no result.

 I check my dspace log, and I noticed that it seems dspace can't see the
 messages I added:

 message
 key=xmlui.ArtifactBrowser.SimpleSearch.filter.typeType/message
 message
 key=xmlui.ArtifactBrowser.SimpleSearch.filter.type_filterType/message
 message
 key=xmlui.ArtifactBrowser.AdvancedSearch.type_typeType/message

 On the other hand, I checked this link http: //
 wiki.lib.sun.ac.za/index.php/SUNScholar/Discovery/4.X
 And just noticed that I forget to add this message :

 message 
 key=xmlui.ArtifactBrowser.SimpleSearch.filter.*dc.type*Type/message

 Does someone know if missing this message cause the problem?



 On Wed, Dec 10, 2014 at 2:27 PM, euler esne...@seafdec.org.ph wrote:

 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 to do a hard
 refresh/reload of your browser by pressing ctrl+F5.

 Hope this help.

 Regards,
 euler



 --
 View this message in context:
 http://dspace.2283337.n4.nabble.com/DSpace-tech-Configure-Discovery-Facets-problem-tp4675850p4675854.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.


 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[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 configuration
and homepage specific configuration for discovery.

2- Also I define the search filter bean in discovery.xml

bean id=searchFilterType
class=org.dspace.discovery.configuration.DiscoverySearchFilterFacet
property name=indexFieldName value=type/
property name=metadataFields
list
valuedc.type/value
/list
/property
property name=facetLimit value=10/
property name=sortOrder value=COUNT/
/bean

3- add webui.browse.index.5=type:metadata:dc.type:text to dspace.cfg file.

4- Edit the*
/webapps/xmlui/WEB-INF/classes/aspects/Discovery/i18n/messages.xml,* by
adding:

  message
key=xmlui.ArtifactBrowser.SimpleSearch.filter.typeType/message
message
key=xmlui.ArtifactBrowser.SimpleSearch.filter.type_filterType/message

5- Then clear cocoon cache, restart tomcat and run ./dspace index-discovery
-b.

After doing above steps, TYPE option appears only in the browse by
navigation, but It doesn't appear as a discover sidebar facets/search
filters.

Can you help me figuring out What missing here?

Regards,

Nada Abo-Eita
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

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 file. You should edit
webapps/theme/Mirage/lib/xsl/aspect/artifactbrowser/item-view.xsl

For #1.
Still It doesn't work. If anyone have an idea about it, please reply back!

Regards,

Nada Abo-Eita


On Tue, Dec 9, 2014 at 4:29 PM, Hilton Gibson hilton.gib...@gmail.com
wrote:

 Hi Nada

 Try this: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Rebuild_DSpace
 But only if you build DSpace using a standardised reference architecture.
 See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Reference_Architecture

 Cheers

 hg

 *Hilton Gibson*
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025C
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa

 Tel: +27 21 808 4100 | Cell: +27 84 646 4758

 On 9 December 2014 at 15:25, Nada Abo Eita naboeit...@gmail.com wrote:

 Hi Hilton,

 I tried to do my changes also by using overlays method, but the main
 problem that when we rebuild, dspace isn't working   (xmlui  jspui--
 gives internal system error). Even though dspace (both xmlui and jspui) was
 working fine before doing the rebuild.

 So as I mentioned before, I reinstall dspace from scratch and start to
 apply changes only on [dspace installation directory], to avoid doing
 rebuild.

 Anyone have an idea why rebuild cause this problem?


 On 09 Dec,2014, at 3:54 PM, Hilton Gibson hilton.gib...@gmail.com
 wrote:

 Hi Nada

 Please read about the modules overlay method of doing permanent
 customisation that can survive upgrades.

 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Customisation#Advanced_Customisation_.28Modules_Overlay_Method.29

 Cheers

 hg


 *Hilton Gibson*
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025C
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa

 Tel: +27 21 808 4100 | Cell: +27 84 646 4758

 On 9 December 2014 at 14:16, Nada Abo-Eita naboeit...@gmail.com wrote:

 Thank you euler for your reply.

 Is that mean that I shouldn't do this change in [DSpace installation
 directory]?

 Because last time I installed DSpace successfully and then tried to do
 my changes in [dspace-src] and then rebuild to reflect my changes but I end
 up with losing all my configuration settings for dspace (include ldap
 authentication and discovery).
 That's why to resolve this problem I re-install DSpace from scratch and
 start applying my changes only on dspace installation directory not the
 source directory, as this cause the problem of losing all my configuration
 settings .


 Regards,
 Nada Abo-Eita




 On Tue, Dec 9, 2014 at 6:02 AM, euler esne...@seafdec.org.ph wrote:

 Dear Nada,

 I can answer regarding #1 only, you should edit

 [dspace-src]/dspace/modules/xmlui/src/main/resources/aspects/BrowseArtifacts/sitemap.xmap.
 You have to create those directories if it is missing from your setup. I
 added my changes to modules so that it will not be overwritten the next
 time
 you try to upgrade your dspace. It is also convenient to place those
 changes
 under the modules directory. You have to rebuild DSpace in order for
 those
 changes to take effect.

 Regards,
 euler



 --
 View this message in context:
 http://dspace.2283337.n4.nabble.com/DSpace-tech-xmlui-customization-Mirage-tp4675810p4675824.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.


 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration 
 more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing

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

2014-12-09 Thread Nada Abo-Eita
Thank you euler for your reply.

Is that mean that I shouldn't do this change in [DSpace installation
directory]?

Because last time I installed DSpace successfully and then tried to do my
changes in [dspace-src] and then rebuild to reflect my changes but I end up
with losing all my configuration settings for dspace (include ldap
authentication and discovery).
That's why to resolve this problem I re-install DSpace from scratch and
start applying my changes only on dspace installation directory not the
source directory, as this cause the problem of losing all my configuration
settings .


Regards,
Nada Abo-Eita




On Tue, Dec 9, 2014 at 6:02 AM, euler esne...@seafdec.org.ph wrote:

 Dear Nada,

 I can answer regarding #1 only, you should edit

 [dspace-src]/dspace/modules/xmlui/src/main/resources/aspects/BrowseArtifacts/sitemap.xmap.
 You have to create those directories if it is missing from your setup. I
 added my changes to modules so that it will not be overwritten the next
 time
 you try to upgrade your dspace. It is also convenient to place those
 changes
 under the modules directory. You have to rebuild DSpace in order for those
 changes to take effect.

 Regards,
 euler



 --
 View this message in context:
 http://dspace.2283337.n4.nabble.com/DSpace-tech-xmlui-customization-Mirage-tp4675810p4675824.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.


 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

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

2014-12-09 Thread Nada Abo Eita
Hi Hilton, 

I tried to do my changes also by using overlays method, but the main problem 
that when we rebuild, dspace isn't working   (xmlui  jspui-- gives internal 
system error). Even though dspace (both xmlui and jspui) was working fine 
before doing the rebuild. 

So as I mentioned before, I reinstall dspace from scratch and start to apply 
changes only on [dspace installation directory], to avoid doing rebuild. 

Anyone have an idea why rebuild cause this problem? 


 On 09 Dec,2014, at 3:54 PM, Hilton Gibson hilton.gib...@gmail.com wrote:
 
 Hi Nada
 
 Please read about the modules overlay method of doing permanent 
 customisation that can survive upgrades.
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Customisation#Advanced_Customisation_.28Modules_Overlay_Method.29
 
 Cheers
 
 hg
 
 
 Hilton Gibson
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025C
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa
 
 Tel: +27 21 808 4100 | Cell: +27 84 646 4758
 
 On 9 December 2014 at 14:16, Nada Abo-Eita naboeit...@gmail.com wrote:
 Thank you euler for your reply.
  
 Is that mean that I shouldn't do this change in [DSpace installation 
 directory]?
 
 Because last time I installed DSpace successfully and then tried to do my 
 changes in [dspace-src] and then rebuild to reflect my changes but I end up 
 with losing all my configuration settings for dspace (include ldap 
 authentication and discovery). 
 That's why to resolve this problem I re-install DSpace from scratch and 
 start applying my changes only on dspace installation directory not the 
 source directory, as this cause the problem of losing all my configuration 
 settings . 
 
 
 Regards,
 Nada Abo-Eita
 
 
 
 
 On Tue, Dec 9, 2014 at 6:02 AM, euler esne...@seafdec.org.ph wrote:
 Dear Nada,
 
 I can answer regarding #1 only, you should edit
 [dspace-src]/dspace/modules/xmlui/src/main/resources/aspects/BrowseArtifacts/sitemap.xmap.
 You have to create those directories if it is missing from your setup. I
 added my changes to modules so that it will not be overwritten the next time
 you try to upgrade your dspace. It is also convenient to place those changes
 under the modules directory. You have to rebuild DSpace in order for those
 changes to take effect.
 
 Regards,
 euler
 
 
 
 --
 View this message in context: 
 http://dspace.2283337.n4.nabble.com/DSpace-tech-xmlui-customization-Mirage-tp4675810p4675824.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.
 
 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE
 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 
 
 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE
 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

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

2014-12-08 Thread Nada Abo-Eita
Dear DSpace community,

I am using Mirage theme (Dspace version 4.2) and am trying to customize
mirage theme by:

*1- Changing the Front page community list hierarchy by doing the
following: *

Change the depth value to 999 in the sitemap.xmap file under
*[dspace]/webapps/xmlui/WEB-INF/classes/aspects/ArtifactBrowser*


*2- Adding Type search filter option to Homepage specific configuration
settings for discovery and to default configuration settings for
discovery by doing the following: *

Change the dicovery.xml as it mentioned here: http://goo.gl/pkVhqp
and then re-index discovery using this command : ./dspace index-dicovery -b

*3- Removing dc. from the labels of metadata in the full view page for
item records, to end up with a label as contributor.author by doing the
following : *

Comment the following lines from
[dri2xhtml-alt]/aspect/artifactbrowser/item-view.xsl :
xsl:value-of select=./@mdschema/
xsl:text./xsl:text

Then restart tomcat and clean the cache but unfortunately non of the above
changes get reflected on my dspace.

Please note that I am working on the installation directory [dspace], NOT
[dspace-src].

Any help is highly appreciated

Regards,

Nada Abo-Eita
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] [DSpace-tech]: Exporting entire site problem

2014-12-03 Thread Nada Abo-Eita
Dear DSpace Community,

I tried to export entire site using the following command:

[dspace]/bin/dspace   packager   –d   -a   -t AIP   -e eperson-i
sitePrefix/0   site-aip.zip

But it gives me the following Exception :  *Failed to export Roles via
packager*
For me details about the error please find the attached file.

Anyone have an idea why roles cannot be exported?


*Note: *
*DSpace version 1.7.2 *


Regards,
Nada Abo-Eita
Also disseminating all child objects (recursive mode)..
This may take a while, please check your logs for ongoing status while we 
process each package.
Exception: Failed to export Roles via packager (see wrapped error message for 
more details)
org.dspace.content.crosswalk.CrosswalkInternalException: Failed to export Roles 
via packager (see wrapped error message for more details)
at 
org.dspace.content.crosswalk.RoleCrosswalk.disseminateElement(RoleCrosswalk.java:233)
at 
org.dspace.content.packager.AbstractMETSDisseminator.crosswalkToMetsElement(AbstractMETSDisseminator.java:1342)
at 
org.dspace.content.packager.AbstractMETSDisseminator.makeMdSec(AbstractMETSDisseminator.java:597)
at 
org.dspace.content.packager.AbstractMETSDisseminator.addToAmdSec(AbstractMETSDisseminator.java:710)
at 
org.dspace.content.packager.AbstractMETSDisseminator.addAmdSec(AbstractMETSDisseminator.java:736)
at 
org.dspace.content.packager.AbstractMETSDisseminator.makeManifest(AbstractMETSDisseminator.java:822)
at 
org.dspace.content.packager.AbstractMETSDisseminator.writeZipPackage(AbstractMETSDisseminator.java:294)
at 
org.dspace.content.packager.AbstractMETSDisseminator.disseminate(AbstractMETSDisseminator.java:241)
at 
org.dspace.content.packager.DSpaceAIPDisseminator.disseminate(DSpaceAIPDisseminator.java:157)
at 
org.dspace.content.packager.AbstractPackageDisseminator.disseminateAll(AbstractPackageDisseminator.java:86)
at 
org.dspace.content.packager.AbstractPackageDisseminator.disseminateAll(AbstractPackageDisseminator.java:141)
at 
org.dspace.content.packager.AbstractPackageDisseminator.disseminateAll(AbstractPackageDisseminator.java:152)
at org.dspace.app.packager.Packager.disseminate(Packager.java:635)
at org.dspace.app.packager.Packager.main(Packager.java:460)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
Caused by: org.dspace.content.packager.PackageException: 
org.postgresql.util.PSQLException: This statement has been closed., Reason: 
org.postgresql.util.PSQLException: This statement has been closed.
at 
org.dspace.content.packager.RoleDisseminator.writeToStream(RoleDisseminator.java:254)
at 
org.dspace.content.packager.RoleDisseminator.disseminate(RoleDisseminator.java:105)
at 
org.dspace.content.crosswalk.RoleCrosswalk.disseminateElement(RoleCrosswalk.java:202)
... 18 more
Caused by: org.postgresql.util.PSQLException: This statement has been closed.
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.checkClosed(AbstractJdbc2Statement.java:2424)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.setString(AbstractJdbc2Statement.java:1223)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.setString(DelegatingPreparedStatement.java:135)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.setString(DelegatingPreparedStatement.java:135)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.setString(DelegatingPreparedStatement.java:135)
at 
org.dspace.storage.rdbms.DatabaseManager.loadParameters(DatabaseManager.java:1550)
at 
org.dspace.storage.rdbms.DatabaseManager.query(DatabaseManager.java:282)
at org.dspace.eperson.Group.search(Group.java:908)
at org.dspace.eperson.Group.search(Group.java:817)
at 
org.dspace.content.packager.RoleDisseminator.findAssociatedGroups(RoleDisseminator.java:588)
at 
org.dspace.content.packager.RoleDisseminator.writeToStream(RoleDisseminator.java:206)
... 20 more
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette

[Dspace-tech] : Auto. item mapping!

2014-11-30 Thread Nada Abo-Eita
Hi all,

Is it possible to map items in DSpace automatically. What I mean, If a user
submit item into collection A, can dspace map this item into another
collection (B) automatically, without the need to do that manually?

Regards,
Nada Abo-Eita
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Rollback changes on dspace!

2014-11-26 Thread Nada Abo-Eita
Dear DSpace community,

I am wondering if its possible to rollback changes with dspace. What I mean
if we do changes under [dspace-src] and then rebuild, can I rollback in
this case?

Because I tried to restore my dspace installation directory, and dspace-src
directory up to 1 day before applying changes and then restart tomcat but
nothing changed?

Anyone have an idea why?


Regards,
Nada Abo-Eita
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Running Commands on dspace

2014-11-25 Thread Nada Abo-Eita
Hi All,

I have a question about running commands on dspace in general. From where
exactly we should run the commands ( from the source directory
[dspace-src]/dspace/bin/dspace *OR* from the installation directory
[dspace]/bin/dspace ), and what's the difference?

Example :
packager commands, index-discovery command, etc...


Regards,
Nada Abo-Eita
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] ant update command!

2014-11-23 Thread Nada Abo Eita
Hi all, 

Regarding the ant update command used to update Dspace installation. Could you 
please explain to me what's the difference between these two commands: 

ant update 
ant -Dconfig=[dspace]/config/dspace.cfg. update 

Regards, 
Nada Abo-Eita--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Adding e-people into groups automatically

2014-11-21 Thread Nada Abo-Eita
Thank you helix for your quick reply,

Sorry for annoying, but I have one last question if possible.
If I follow the way that you mention to customize my own theme - edit web
apps under the [dspace] to avoid rebuilding dspace- , In this case do I
need to copy these changes to /tomcat/webapps, as well ?

regards,
Nada Abo Eita

On Fri, Nov 21, 2014 at 11:51 AM, helix84 heli...@centrum.sk wrote:

 On Fri, Nov 21, 2014 at 8:21 AM, Nada Abo Eita naboeit...@gmail.com
 wrote:
  But why I need to copy it, in case of re-building [dspace-src].
   Is rebuilding cause to lost what I change under [dspace] ??

 Yes, rebuilding replaces what is under [dspace]. The old contents is
 not deleted during the ant upgrade step, it's moved away to a backup
 location (as you can see in the command output).


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Adding e-people into groups automatically

2014-11-20 Thread Nada Abo-Eita
What about creating new xmlui theme via overlays (under
[dspace-src]/[dspace]/modules) , Should I rebuild in this case?

On Tue, Nov 18, 2014 at 1:48 PM, helix84 heli...@centrum.sk wrote:

 On Tue, Nov 18, 2014 at 11:44 AM, Nada Abo-Eita naboeit...@gmail.com
 wrote:
  I have one more question, if applicable. Should I rebuild dspace (Full
  build), after applying changes to authentication-ldap.cfg file? or
  restarting tomcat is enough?

 You only need to restart Tomcat after modifying configs in
 [dspace]/config/. If you modify anything in [dspace-src], you need to
 rebuild (and those changes will overwrite your [dspace]).


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Adding e-people into groups automatically

2014-11-18 Thread Nada Abo-Eita
Thank you guys for your help :)

I have one more question, if applicable. Should I rebuild dspace (Full
build), after applying changes to authentication-ldap.cfg file? or
restarting tomcat is enough?

Regards,
Nada Abo-Eita


On Mon, Nov 17, 2014 at 7:35 PM, Xerio Cheri todos.somos...@gmail.com
wrote:

 Hi Nada,

 I've developed a pretty non-standard way to achieve this via a PostgreSQL
 TRIGGER statement. In that case, you have to create your group and see what
 'id' has been given to it in the database (epersongroup
 table, eperson_group_id field). In the following example I assume it has ID
 6, so you'd create a trigger like this:

 CREATE OR REPLACE FUNCTION addtoregistergroup()
 RETURNS TRIGGER AS $$
   DECLARE maxid integer;
   DECLARE real_maxid integer;
   DECLARE max_eperson integer;
 BEGIN
   PERFORM pg_sleep(1);

   SELECT MAX(eperson_id) INTO max_eperson FROM eperson;
   SELECT MAX(id) INTO maxid FROM epersongroup2eperson;
   SELECT SUM(maxid + 1) INTO real_maxid;

   INSERT INTO epersongroup2eperson(id, eperson_group_id, eperson_id) 
 VALUES(real_maxid, 6, max_eperson);

   RETURN NULL;
 END;
 $$ LANGUAGE plpgsql;

 Now you just have to assign that TRIGGER to the eperson table:

 CREATE TRIGGER autoadd2regs
 AFTER INSERT ON eperson
 EXECUTE PROCEDURE addtoregistergroup();


 This has one big disatvantage: if you create a administrator via the
 './dspace create-administrator' command, this won't work, as there will be
 2 insertions in the epersongroup2eperson table and they will be trying to
 insert the same key, so you'll see an exception being thrown due to
 duplicate key violation. This would mean you would need to grant the
 Administrator privileges to users via the XMLUI/JSPUI interface, in the
 'Access control' menu.

 Otherwise, it has worked perfectly to me so far.

 HTH,

 Regards.

 2014-11-17 14:50 GMT+00:00 helix84 heli...@centrum.sk:

 Hi Nada,

 if you're using LDAP, you may put the name of a DSpace group (create
 this group first) into login.specialgroup [1] and all users who log in
 via LDAP will be members of this group while they're logged in. You
 can check this group membership in the profile of the logged in user.
 In addition, you may put LDAP users into different DSpace groups based
 either on their LDAP DN or value of an LDAP attribute [2].
 All of this is documented in [3]

 If you're using Shibboleth, read more about role-based groups here [4]
 and here [5].

 [1]
 https://github.com/DSpace/DSpace/blob/dspace-4_x/dspace/config/modules/authentication-ldap.cfg#L109
 [2]
 https://github.com/DSpace/DSpace/blob/dspace-4_x/dspace/config/modules/authentication-ldap.cfg#L150
 [3]
 https://wiki.duraspace.org/display/DSDOC4x/Authentication+Plugins#AuthenticationPlugins-ConfiguringLDAPAuthentication
 [4]
 https://wiki.duraspace.org/display/DSDOC4x/Authentication+Plugins#AuthenticationPlugins-DSpaceShibbolethConfigurationOptions
 [5]
 https://github.com/DSpace/DSpace/blob/dspace-4_x/dspace/config/modules/authentication-shibboleth.cfg#L147


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Adding e-people into groups automatically

2014-11-17 Thread Nada Abo-Eita
Dear DSpace Community,

I am wondering if DSpace can add e-people into groups automatically.
To clarify, lets take this scenario :
I have thousands of students and I want for any students logged in for the
first time to be added automatically into University Students Group. Simply
I don't want to add the students manually to that group :(.

Any idea how to do that ??

Regards,

Nada Abo-Eita
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Listing Communities in DSpace home page

2014-11-15 Thread Nada Abo-Eita
Dear DSpace Community,

I am wondering how to categorize the communities into different categories
to be listed in DSpace home page, as following:

Communities in DSpace :
Select a community to browse its collections.

* 1st Category
 { list of communities in the 1st Category}
*  2nd Category
 { list of communities in the 2nd Category }

Should I have another template that responsible to do such categorization,
and what are the changes that should be done in news-xmlui.xml ??

Note: DSpace version 4.2


Regards,

Nada Abo Eita
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Listing Communities in DSpace home page

2014-11-15 Thread Nada Abo-Eita
Thank you for your reply,

ya I know the hierarchy for the communities and collections, and how to
create it. But What I am asking about, Can I change the way the communities
is listed in the front page by tweaking the templates thats responsible to
list the communities ??

On Sat, Nov 15, 2014 at 5:54 PM, Hilton Gibson hilton.gib...@gmail.com
wrote:

 See: http://scholar.sun.ac.za for example communities and collection
 hierarchy.

 Communities and collections are created by the administrator.
 See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_DSpace/S07

 *Hilton Gibson*
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025C
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa

 Tel: +27 21 808 4100 | Cell: +27 84 646 4758

 On 15 November 2014 16:34, Nada Abo-Eita naboeit...@gmail.com wrote:

 Dear DSpace Community,

 I am wondering how to categorize the communities into different
 categories to be listed in DSpace home page, as following:

 Communities in DSpace :
 Select a community to browse its collections.

 * 1st Category
  { list of communities in the 1st Category}
 *  2nd Category
  { list of communities in the 2nd Category }

 Should I have another template that responsible to do such
 categorization, and what are the changes that should be done in
 news-xmlui.xml ??

 Note: DSpace version 4.2


 Regards,

 Nada Abo Eita


 --
 Comprehensive Server Monitoring with Site24x7.
 Monitor 10 servers for $9/Month.
 Get alerted through email, SMS, voice calls or mobile push notifications.
 Take corrective actions from your mobile device.

 http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette