Bookshelf Home | Contents | Index | PDF |
Siebel Object Interfaces Reference > Interfaces Reference > Application Methods > LookupMessage MethodThe LookupMessage method returns the translated string for the specified key, in the current language, from the specified category. The optional arguments are used to format the string if it contains any substitution arguments (%1,%2). SyntaxApplication.LookupMessage (category, key, [arg1], [arg2],...., [argN]) ReturnsA string containing the localized message text. UsageUseful for retrieving locale specific custom error messages. Used WithExampleThe following eScript example returns the text "Account Title should be entered before Stepping off." To test this under the "User Defined Errors" message category, create a new record with the following text: "%1 should be entered before Stepping Off." The parameter that is substituted in place of %1 is "Account Title", which is present in the message test. var sVal = TheApplication().LookupMessage("User Defined Errors", "Test", "Account Title"); |
Siebel Object Interfaces Reference |