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:

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

Server Method Properties

The following table describes the properties for server 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).
Note: When you select a method from the Configure Method dialog box, the input properties specific to that method are displayed in the Properties tab. For more information on the specific method properties, see Service Interfaces.
Tip: To view the method-specific properties in a separate group, click the By Category button to sort the properties.