Click or drag to resize

ConfigurationDomainCommandSetPendingConfirmMessage Method

Used to set the confirm prompt shown to the user. This is intended to show the user a prompt: Prompt message text here. [ OK ] ...or... [ Cancel ] This will be shown to the user to verify that they wish to perform the action when there are changes pending in the editor. In versions of MFAdmin older than 20.10.x.x there was no support for the conditional if( changesArePending ) check, so the legacy confirm message will be shown in all cases in versions older than 20.10.x.x, so ensure to word the messages accordingly.

Namespace:  MFiles.VAF.Configuration.Interfaces.Domain
Assembly:  MFiles.VAF.Configuration.Interfaces (in MFiles.VAF.Configuration.Interfaces.dll) Version: 1.0.0.0
Syntax
C#
public void SetPendingConfirmMessage(
	string changesPendingConfirmMessage,
	string legacyConfirmMessage
)

Parameters

changesPendingConfirmMessage
Type: SystemString
- Replaces confirmMessage when changesPendingConfirmMessage is supported by the platform and defined. The prompt message text to be shown to the user before command execution. - Only shown when changes are pending in the editor.
legacyConfirmMessage
Type: SystemString
- Not used when changesPendingConfirmMessage is supported by the platform and defined. The prompt message text to be shown to the user before command execution. - Shown always in M-Files platform versions older than 20.10.x.x. - Used to support platform versions older than 20.10.x.x.
See Also