Difference between revisions of "Custom Labels"
From AgileApps Support Wiki
imported>Aeric |
imported>Aeric |
||
Line 8: | Line 8: | ||
:*[[Classes]] | :*[[Classes]] | ||
:*[[Custom Form Actions]] | :*[[Custom Form Actions]] | ||
:* Java API: [[ | :* Java API: [[Java API:Utility functions#showMessage | showMessage]], [[Java API:Utility functions#throwError|throwError]] | ||
:*JavaScript validation messages | :*JavaScript validation messages | ||
:*[[Web Tabs]] | :*[[Web Tabs]] |
Revision as of 22:41, 21 August 2013
Custom Labels provide the the ability to create free-form messages, or alphanumeric text strings in:
- Onscreen help or tips
- Alert messages
- Warning messages
The custom labels are added via the Translation Workbench, and are used in these elements in the platform:
- Pages
- Classes
- Custom Form Actions
- Java API: showMessage, throwError
- JavaScript validation messages
- Web Tabs
To add custom labels:
- Click > Customization > Shared Global Resources > Translation Workbench
- Specify the following information:
- Language
- Select the desired language
- Elements
- Custom Labels
- Category
- --New Category--
- Category Name
- Enter a name for the category
- Click the [New Category] button
- In the form that appears, enter the token and the Translated Custom Message
- A maximum of 100 tokens can be created for each Category
- Click [Save]