Code Block | ||
---|---|---|
| ||
Prerequisite : JRE needs to installed on machine to run JAR command |
Change field name on UI
- Download the sample plugin.
Extract the downloaded plugin in to a folder and delete jar file. Egfolder Eg. os-sample-plugin.
Code Block language bash $ jar -xvfxf os-sample-plugin.jar
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 language js { "dp" : { "short_title": "Request ID" } }
- 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.
...