Versions Compared

Key

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


Code Block
languagebash
Prerequisite : JRE needs to installed on machine to run JAR command

Change field name on UI

  1. Download the sample plugin.
  2. Extract the downloaded plugin in to a folder and delete jar file. Egfolder Eg. os-sample-plugin

    Code Block
    languagebash
    $ jar -xvfxf os-sample-plugin.jar


  3. To change a field name appearing on UI, edit file os-sample-plugin/test/META-INF/resources/os-plugin/i18n/en.js, add previous and new name of the field which needs to be changed in the key value format. Eg. Change the field name 'Short Title' to 'Request ID' of Distribution protocol.

    Code Block
    languagejs
    {
    "dp" : {
        "short_title": "Request ID"
      }
    }


  4. Save and exit os-sample-plugin/test/META-INF/resources/os-plugin/i18n/en.js the file.

Change the field name

...

in the backend

To change the field name from the BO templates, user has to be update the message.properties file.

...