Designer: Server Methods
The Server Methods panel allows you to configure service interfaces that can be called from the current form or user display. The server methods available are also used to configure call methods in workflows.
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 |
---|---|---|
Server Methods | User-defined | Displays the list of methods. |
Server Methods: Add | N/A | Click to add a method. |
Server Methods: Remove | N/A | Click to remove a method. |
Server Method Properties
The following table describes the properties for server 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). |