Skip to end of banner
Go to start of banner

lfGlobalMessage

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Current »

Availability

This routine is available starting with 

  • Power Scripts 2.5 (server)
  • SIL ENgine™ (former katl-commons) 2.5

Syntax

lfGlobalMessage(message, messageClass);

Description

Displays a global message.

Parameters

ParameterTypeRequiredDescription
messageStringYesMessage to display
messageClassStringYesMessage type

 
The messageClass parameter can be:

  • ERROR: will display an error message
  • WARNING: will display a warning message
  • SUCCESS: will display a success message
  • INFO: will display an info message
  • HINT: will display a hint message.

Example

Use the following code to display a global error message.

lfGlobalMessage("This is a global message!", "ERROR"); // where message = "This is a global message!" and  messageClass = "ERROR"

 The message will be displayed on the issue screen like in the image below:

See also

  • No labels