Table of Contents

String resources

What are string resources?

String resources are pieces of text identified by a name and a value. They are used in UI views, rules, events, server methods and anywhere you need to localize a string value.

For more information, see this article.

Creating a new string resource

String resources are grouped by modules.
To create a new resource:

  • In the menu, expand the module Catalog that will contain the resource.
  • Expand Shared.
  • Click on String resources.

Create the following string resource by clicking on the Add button :

UnitPriceMustBeNullOrGreaterThanZero:

Name = UnitPriceMustBeNullOrGreaterThanZero
Value = The unit price must be null or greater than 0.

NumberAvailableUnitsProduct:

Name = NumberAvailableUnitsProduct
Value = The number of available units for the product {0} is {1}.

Save the changes and generate the application.