...
Change the field name in the backend
To change the field name from in the BO templatesbackend, user has to be update the message.properties file.
...
- Edit os-sample-plugin/os-plugin-jar/errors/message.properties to change the value of field in backend. Search for the field name that needs to be changed. Eg. Change the field name 'Short Title' to 'Request ID' of Distribution protocol BO template.
Code Block language bash dp_short_title = Short Title
Replace Short Title with Request ID.
Code Block language bash dp_short_title = Request ID
- Save and exit message.properties
Create new plugin using given command:
Code Block language bash $jar -cf os-sample-plugin.jar META-INF/ pluginContext.xml errors/ pluginApiContext.xml pluginContext.xml
- Copy the newly created plugin to $OS_HOME/plugins/ and restart OpenSpecimen service.
...