Designer: Client Methods

The Client Methods panel allows you to configure client-specific methods that can be called from the current form or user display.

The available client methods are specific to actions that can take place within Workflow, within a form or user display, or within a form in a running workflow.

Each method exposes two events: ExecutedSuccessfully and ExecutedWithError. For more information, see Server and Client Methods Events.

The following table describes the attributes of this panel:

AttributeValueDescription
Client MethodsUser-definedDisplays the list of methods.
Client Methods: AddN/AClick to add a method.
Client Methods: RemoveN/AClick to remove a method.

Client Method Properties

The following table describes the properties for client methods:

PropertyProperty TypeDescription
DisplayNameInputSpecifies the name to display in the Workflow Editor.
EventTriggerInputClick the ellipsis button to open the Event Triggers dialog box where you can select the event(s) that will cause this method to be executed.
IsEnabledInput

Select this check box to indicate that this event is enabled.

By default, this check box is selected. However, you can bind its value to an expression so that the method is only conditionally executed. For example, you can bind the IsEnabled property of the method to the IsChecked property of a check box so that the method never executes if the check box is not selected.

LocalizationInputClick the ellipsis button to open the Localization Configuration dialog box where you can configure the property to localize, the language to use for localization, and the text to localize.
NameInputSpecifies the identifying name. The name provides a reference so that code behind, such as event handler code, can refer to a markup element during processing by a XAML processor.
SourceInputClick the ellipsis button to open the Configure Method dialog box where you can select the method to use.
UidInputSpecifies the unique identifier (for localization).
Tip: To view the method-specific properties in a separate group, click the By Category button to sort the properties.