forked from DSpace/DSpace
-
Notifications
You must be signed in to change notification settings - Fork 22
Controlpanel
Ondrej Kosarko edited this page Apr 17, 2026
·
2 revisions
⚠️ This page documents the DSpace v5 control panel and is kept for reference only.
The new refactored approach has the following advantages:
- The tabs are configurable without changing the code. e.g. the names and order of the tabs can be changed in controlpanel.cfg
- No more if else branching to identify current tab and creating links.
- Unified approach to create normal tabs and checks.
- Each tab has different class that is easy to manage and debug.
- Addition of new tabs and checks are very easy.
- To add a new tab Create a class and extend it from AbstractControlPanelTab.
- Implements the function addBody(Map objectModel, Division div).
- Add the class as named plugin in controlpanel.cfg
package cz.cuni.mff.ufal;
public class ControlPanelTestTab extends AbstractControlPanelTab {
@Override
public void addBody(Map objectModel, Division div) throws WingException {
div.addPara("This is a tab.");
}
}
controlpanel.cfg entries:
controlpanel.tabs = Test Panel
plugin.named.org.dspace.app.xmlui.aspect.administrative.ControlPanelTab = \
cz.cuni.mff.ufal.ControlPanelTestTab = Test Panel
Make sure the controlpanel.tabs string is identical to the key for plugin.
To include the tab as a check in MainControlCheck, add the named key to controlpanel.checks property in controlpanel.cfg. see the following example config file:
controlpanel.tabs = UFAL Summary, \
Verify Logging, \
Dspace Log(s), \
User Logins, \
Shib Raw Logins
plugin.named.org.dspace.app.xmlui.aspect.administrative.ControlPanelTab = \
cz.cuni.mff.ufal.dspace.app.xmlui.aspect.administrative.MainControlCheck = UFAL Summary, \
cz.cuni.mff.ufal.dspace.app.xmlui.aspect.administrative.checks.IsLoggingControlCheck = Verify Logging, \
cz.cuni.mff.ufal.dspace.app.xmlui.aspect.administrative.checks.LoggingControlCheck = Dspace Log(s), \
cz.cuni.mff.ufal.dspace.app.xmlui.aspect.administrative.checks.LoginControlCheck = User Logins, \
cz.cuni.mff.ufal.dspace.app.xmlui.aspect.administrative.checks.ShibRawLoginControlCheck = Shib Raw Logins
controlpanel.checks = UFAL Summary, \
Verify Logging, \
Dspace Log(s), \
User Logins, \
Shib Raw Logins
Also add the following line as the first line of addBody method in your ControlCheck class. This will enable the ajax support:
@Override
public void addBody(Map objectModel, Division div) throws WingException {
div = div.addDivision( this.getClass().getSimpleName(), "control_check" );
}
Use the cz.cuni.mff.ufal.dspace.app.xmlui.aspect.administrative.HtmlHelper class to easily add basic html in your control panel tab.
Getting Started
Features
- All Features — full categorised list
- CLARIN Licenses
- PIDs & Handles
- Featured Services / Refbox
- Field-Level Permissions
- File Previews
- Sharing a Submission
- Personal Access Tokens
- DOI Configuration per Community
- ROR Authority
Operations
- Kubernetes Deployment
- Samples (.env, Nginx)
- Nginx + Shibboleth
- Handle Server · Setup (v7)
- Shibboleth · DiscoJuice
- Shibboleth Accounts
- S3 Storage · CESNET S3
- Google Analytics
- Matomo
- Solr
- Logging
- Custom Namespace
- Health Report
For Users
Development
Reference
- Authorizations
- Metadata Info
- Citations (proposal)
- Repository Checklist
- Search, Browse & Filters
- Localization
- Importing Items (CLI)
- NFA Import - Steps
- OpenAIRE
- DOI Registration
- Inclusion in OLAC
- Unit Testing
- Deploy Checks
- Troubleshooting
- Versioning Theory
- Dynamic Resource Versioning
- Metashare Import · Schema
- Web Server Overview
- LINDAT Common Theme
- Workshop 2016 Results
- WebLicht Integration
- Google Dataset Search
Archive (v5 / stale)
- Old Home (v5)
- Installation (v5)
- Prerequisites (v5)
- Connecting Tomcat with Apache
- Using Apache
- Building Shibboleth FastCGI
- Shibboleth Install (v5)
- EUDAT Replication
- Backup (v5)
- Spring Social / Google Drive (v5)
- Clarin (→ Repository Checklist)
- Control Panel (v5)
- Overlays (v5)
- Configuration (v5)
- Speeding Up Downloads
- Debugging (v5)
- Selenium (v5)
- Code Contributions (v5)
- Best Practices (v5)
- Testing Hudson
- Working on Windows
- Prerequisites Checklist (v5)
- Migration to DSpace 7.2.1
- Upgrade From Lindat
- Piwik (→ Matomo) · Piwik Cleaning