The Log Message action (see screenshot below) enables a customized message to be logged on the server or client during the execution of an action. This helps to analyze the app's behavior during an action. A message can be logged at any point during the execution of an action, based on the selected severity: info, warning, error.
The action takes as its input:
•The location where the message is to be logged: server or client
•The severity of the error: info, warning, error
•The message to be logged, which must be entered as an XPath string
|The log messages that will be displayed also depends on the log level detail you specify in the settings of MobileTogether Server.
MobileTogether extension functions
MobileTogether provides a range of XPath extension functions that have been specifically created for use in MobileTogether designs. Some functions can be particularly useful with specific actions. For example, mt-available-languages() returns the languages in which the solution is available and could, for example, be used with the Message Box action. If a function is especially relevant to this action, it is listed below. For a full list of extension functions and their descriptions, see the topic MobileTogether Extension Functions.