control.clearNotification (Client API reference)
Remove a message already displayed for a control.
Control types supported
All
Syntax
formContext.getControl(arg).clearNotification(uniqueId);
Parameters
Name | Type | Required | Description |
---|---|---|---|
uniqueId |
String | No | The ID to use to clear a specific message that was set using setNotification or addNotification. If the uniqueId parameter isn't specified, the currently displayed notification will be cleared. |
Return Value
Type: Boolean
Description: Indicates whether the method succeeded.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for