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:
Attribute | Value | Description |
---|---|---|
Client Methods | User-defined | Displays the list of methods. |
Client Methods: Add | N/A | Click to add a method. |
Client Methods: Remove | N/A | Click to remove a method. |
Client Method Properties
The following table describes the properties for client methods:
Property | Property Type | Description |
---|---|---|
DisplayName | Input | Specifies the name to display in the Workflow Editor. |
EventTrigger | Input | Click 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. |
IsEnabled | Input |
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. |
Localization | Input | Click 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. |
Name | Input | Specifies 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. |
Source | Input | Click the ellipsis button to open the Configure Method dialog box where you can select the method to use. |
Uid | Input | Specifies the unique identifier (for localization). |