Skip to main content

The save action item fields

Abstract

The table contains three columns: Field, Description, and Sample Field Value.

A save action item contains the following configuration fields:

Field

Description

Sample Field Value

Assembly

An assembly name that contains the associated class.

Sitecore.Forms.Custom.dll

Class

An associated class name including namespace.

Sitecore.Form.Submit.SendMessage

Parameters

A save action can have any number of parameters. In the save action class, parameters are represented as class properties of the string type:

public string MyProperty{ get;set;}

You can specify parameter values in the following format:

<parameter name>value</parameter name>

Specific web form parameters are stored in the web form item and you can edit them in the Form Designer, in the Action Editor.

The parameters in the save action item override the parameters specified in the web form item.

To use a parameter in the action, add a property to a custom action class, and name this property the same as the parameter.

<DefaultDomain>extranet</DefaultDomain>
If the action class contains the DefaultDomain property, this property is initialized with the extranet value:/// <summary>
/// Gets or sets the default domain./// </summary> /// <value>The default domain.</value> public string DefaultDomain { get; set; }

Localized Parameters

Similar to Parameters. The only difference is that this field is not shared so a parameter can be localized.

<DefaultDomain>extranet</DefaultDomain>
If the action class contains the DefaultDomain property, this property is initialized with the extranet value:/// <summary>
/// Gets or sets the default domain./// </summary> /// <value>The default domain.</value> public string DefaultDomain { get; set; }

Client Action

This field is only used in the staging environment. If this check box is cleared, this save action is transferred from the Slave to the Master server and is performed there. If this check box is selected, a save action is performed on the Slave server.

Selected

Editor

A control that a Sitecore user uses when they edit the parameters for the save action in the Form Designer.

control:Forms.MappingFields

QueryString

Additional settings for the editor.

Fields=Login|Login,Password|Password