ErrorInfo.AddNavigationAction([Text] [, Text]) Method

Version: Available or changed with runtime version 12.0.

Adds a navigation action for the error.

Syntax

 ErrorInfo.AddNavigationAction([Caption: Text] [, Description: Text])

Parameters

ErrorInfo
 Type: ErrorInfo
An instance of the ErrorInfo data type.

[Optional] Caption
 Type: Text
The text string that appears as the caption of the action in the error UI. The string can be a label that is enabled for multilanguage functionality.

[Optional] Description
 Type: Text
The text that appears as the tooltip of the action in the error UI.

Remarks

The semantics of this method is the same as the version without a Description parameter. For more information, see ErrorInfo.AddNavigationAction([Text]).

See Also

ErrorInfo Data Type
Actionable errors
User experience guidelines for errors
Error handling
Getting Started with AL
Developing Extensions