Modifications to UI

162 views
Skip to first unread message

Sonia R Thompson

unread,
Aug 25, 2023, 6:39:24 AM8/25/23
to DSpace Technical Support
Good day all,

I would like assistance with some queries I have received from users about the DSpace 7.3 installation.

The installation is working great so far, no error messages or issues however I have gotten some requests from the users on whether the following items are even possible.

1. At the moment, the person uploading a new item receives an email notification with details of the new item added. Can the same email notification be sent to a additional receipient (reviewer) once a new item has been added as well?

2. There are some fields that must be added after initial upload of the item, can these fields be added to the initial entry screen? )eg. dc.contributor.editor, dc.format.extent,  relation.ispartof)

3. Is it possible to edit the license text at the bottom of the "new item" page allowing it to be applied to all items?

4. Can the inactivity time out for adding a new item page be increased?

5. Can additional fields be added to the short display?

6. What type of file format should be used for the thumbnail display (bmp, jpg, tiff)?

7. How do I permanently change the results per page to 10 for sub-communities and collections?  I keeps reverting to 5.

Hoping for same needed assistance.

Thanks in advance everyone
Sonia

Jose Blanco

unread,
Aug 25, 2023, 11:01:01 AM8/25/23
to Sonia R Thompson, DSpace Technical Support
Hi Sonia, I will answer what I know and what I think does not involve
code change:

2. There are some fields that must be added after initial upload of
the item, can these fields be added to the initial entry screen? )eg.
dc.contributor.editor, dc.format.extent, relation.ispartof)

Take a look at this documentation:
https://wiki.lyrasis.org/display/DSDOC7x/Edit+Collection#EditCollection-TemplateItem

3. Is it possible to edit the license text at the bottom of the "new
item" page allowing it to be applied to all items?

Edit this file: dspace/config//default.license

5. Can additional fields be added to the short display?

As far as I know, you will need to edit this file in the angular side.

item-page/simple/item-types/untyped-item/untyped-item.component.html

7. How do I permanently change the results per page to 10 for
sub-communities and collections? I keeps reverting to 5.

This sounds like an index configuration. You may want to read that
section of the documentation. I think ( not 100% sure ), that the
change could be here on the java side:

dspace/config/spring/api/discovery.xml

Hope this helps.
-Jose
> --
> All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/911296cf-169d-4d3f-bc37-3637f858159an%40googlegroups.com.

DSpace Technical Support

unread,
Aug 25, 2023, 12:09:24 PM8/25/23
to DSpace Technical Support
Hi Sonia,

Most of these questions are documented in our online docs.  But, I know our docs are extremely long and it can be hard to find what you are looking for if you don't know where to look.  So, I've linked the relevant pages inline below.

1. At the moment, the person uploading a new item receives an email notification with details of the new item added. Can the same email notification be sent to a additional receipient (reviewer) once a new item has been added as well?

Reviewers will get emails as long as you set up reviewers on the Collection level. By default Collections have no reviewers.  To add reviewers, you need to assign people to the "Reviewers", "Editors" or "Final Editors" roles on the Collection as shown here: https://wiki.lyrasis.org/display/DSDOC7x/Edit+Collection#EditCollection-AssignRoles

2. There are some fields that must be added after initial upload of the item, can these fields be added to the initial entry screen? )eg. dc.contributor.editor, dc.format.extent,  relation.ispartof)

The Submission forms are entirely configurable.  You can add/remove/rearrange metadata fields as much as you like: https://wiki.lyrasis.org/display/DSDOC7x/Submission+User+Interface

3. Is it possible to edit the license text at the bottom of the "new item" page allowing it to be applied to all items?

Yes, this is in the license file, editable in[dspace]/config/default.license  on the backend.  More info is also in the submission docs above, see the content about the "License" sectoin.

4. Can the inactivity time out for adding a new item page be increased?

Yes, that's configurable on the frontend (in your config.*.yml).  It's the authentication timeout settings documented here: https://wiki.lyrasis.org/display/DSDOC7x/User+Interface+Configuration#UserInterfaceConfiguration-AuthenticationSettings

5. Can additional fields be added to the short display?

Yes, but it requires code changes. The process though is documented on our guide to UI Customizations here: https://wiki.lyrasis.org/display/DSDOC7x/User+Interface+Customization#UserInterfaceCustomization-CustomizethesimpleItempage

6. What type of file format should be used for the thumbnail display (bmp, jpg, tiff)?

Thumbnails are generated automatically as long as you run the "filter-media" script (on the backend) in a scheduled manner.  It's recommended to run it via a cron job (see docs at https://wiki.lyrasis.org/display/DSDOC7x/Scheduled+Tasks+via+Cron).  That script will auto-create thumbnails for you (currently, there's not an easy manual way to create your own thumbnails).  More information on the "filter-media" script is at https://wiki.lyrasis.org/display/DSDOC7x/Mediafilters+for+Transforming+DSpace+Content

7. How do I permanently change the results per page to 10 for sub-communities and collections?  I keeps reverting to 5.

It's unclear which page you are talking about.  

If you are talking about on the homepage, there's a "pageSize" configuration on the frontend (in your config.*.yml) documented here: https://wiki.lyrasis.org/display/DSDOC7x/User+Interface+Configuration#UserInterfaceConfiguration-HomepageSettings

If you are talking about the community-list (browse by community) page, then there's a similar "pageSize" configuration documented here: https://wiki.lyrasis.org/display/DSDOC7x/User+Interface+Configuration#UserInterfaceConfiguration-Community-ListSettings

So, if you want it the same on both pages, you may need to set both of those configurations.  If it's not working, then I'd recommend reporting a bug and describing the exact configuration you are using & the incorrect behavior you are seeing.  You can report bugs via GitHub at https://github.com/DSpace/dspace-angular/issues

Tim

Sonia R Thompson

unread,
Aug 25, 2023, 1:40:20 PM8/25/23
to Jose Blanco, DSpace Technical Support
Hi Jose,

Thanks for the information.  I will check out your suggestions.

Thanks
Sonia

Sonia R Thompson

unread,
Sep 1, 2023, 12:02:21 PM9/1/23
to DSpace Technical Support
Good day Tim,

Thank you for the response.  Re. point #6 below, I have encountered the following error when running the "[dspace]/bin/dspace filter-media" command.  The script starts off fine, runs for a while then it abruptly stops and I get this error.

!!! OutOfMemoryError !!!
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

Any help would be greatly appreciated.

Regards
Sonia



--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to a topic in the Google Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dspace-tech/g3JxjZmJT1Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/6bf892f7-03e8-4c91-be23-d45e70d245f2n%40googlegroups.com.

Sonia R Thompson

unread,
Sep 5, 2023, 12:17:51 PM9/5/23
to DSpace Technical Support
Hello,

I was able to run the filter-media script successfully. Instead of doing the whole assetstore, I ran it on individual Communities, one at a time.  I guess the assetstore content was too large to run it all at once.

Sonia
Reply all
Reply to author
Forward
0 new messages