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.