AddLocalString Method

The AddLocalString method adds a text string. It uses the following syntax:

AddLocalString(ID, custom_string) 

where:

  • ID is a string that you use to reference the custom_string. You can use any value for ID.

  • custom_string is any text string.

For example:

this.AddMethod("AddLocalString", function (my_text, this is my custom text) {
SiebelApp.S_App.LocaleObject.AddLocalString(my_text, this is my custom text);
return value;
});

This code adds a string named my_text that includes the following string value:

this is my custom text