Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

...

  1. 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.

  1. Code Block
    languagebash
    dp_short_title = Short Title 

    Replace Short Title with Request ID.

    Code Block
    languagebash
    dp_short_title = Request ID


  2. Save and exit message.properties
  3. Create new plugin using given command:  

    Code Block
    languagebash
    $jar -cf os-sample-plugin.jar META-INF/ pluginContext.xml errors/ pluginApiContext.xml pluginContext.xml
    


  4. Copy the newly created plugin to $OS_HOME/plugins/  and restart OpenSpecimen service.

...