Versions Compared

Key

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


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

...

  1. Download the sample plugin.
  2. Extract the downloaded plugin in to into a folder Eg. os-sample-plugin. 

    Code Block
    languagebash
    $ jar -xf 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.

...