Notification.AddAction(Text, Integer, Text) Method
Version: Available or changed with runtime version 1.0.
Specifies an action for the notification.
Syntax
Notification.AddAction(Caption: Text, CodeunitID: Integer, MethodName: Text)
Parameters
Notification
Type: Notification
An instance of the Notification data type.
Caption
Type: Text
The text string that appears as the caption of the action in the notification UI. The string can be a label that is enabled for multilanguage functionality.
CodeunitID
Type: Integer
The ID of the Codeunit to run when the action is initiated from the notification UI. The codeunit should contain at least one global method to be called by the notification action. The global method must have a Notification data type parameter for accepting the notification object.
MethodName
Type: Text
The name of the method in the Codeunit, which is specified by the CodeunitID parameter, that you want to run for the action.
See Also
Notification Data Type
Getting Started with AL
Developing Extensions
Palaute
https://aka.ms/ContentUserFeedback.
Tulossa pian: Vuoden 2024 aikana poistamme asteittain GitHub Issuesin käytöstä sisällön palautemekanismina ja korvaamme sen uudella palautejärjestelmällä. Lisätietoja on täällä:Lähetä ja näytä palaute kohteelle