The next table presents the properties of the Edit Record widget.

Property

Description

Optionality

Default value

Obs.

Name

Name of the widget used in the screen scope.

Mandatory

EditRecordn

This name represents the widget in the Scope Tree where it aggregates its runtime properties.

See rules for naming elements.

Source Record

Record used to populate the Record runtime property with the initial values. The source record is only used once, immediately after the preparation when the screen is loading. Afterwards, the user input is kept in the Record runtime property and it is not assigned back to the original Source Record.

Optional

 

This property is used when you want to edit a record that already exists. After setting this property, Service Studio updates the property RecordDefinition and freezes it to read-only.

Source Record is always evaluated even when the widget is inside an If widget.

Record Definition

List of entities and/or structures that define the internal value of the widget. You can type the name of the entity or structure, use the Record editor, or select one of the entities and structures displayed.

Optional

 

Mandatory only when the property SourceRecord is not specified.

This property is used when you only want to add a new record.

Width

Indicates the width of this widget. You can change the width by editing this property or by resizing it on the Web Content Canvas.

Optional

100%

The value of this property can be in pixels or percentage.

Display Columns

Indicates whether you want 1 or 2 attributes per row.

Mandatory

2

 

Caption Width

Indicates the width of the column associated with the caption (label).

Mandatory

30%

 

Cell Height

Indicates the height, in number of pixels, of the cells.

Optional

 

 

Cell Padding

Indicates the number of pixels between the cell content and the cell boundary.

Optional

0

 

Cell Spacing

Indicates the number of pixels between the cells.

Optional

1

 

Style

Drop-down list with the styles to be applied to the contents of the edit record.

Optional

EditRecord

Learn more about styles sheets.

Double-click on the property and the Style Sheet Editor is opened with the current style already selected.

Caption Style

Drop-down list with the styles to be applied to the caption columns.

Optional

EditRecord_Caption

Learn more about styles sheets.

Value Style

Drop-down list with the styles to be applied to the value columns.

Optional

EditRecord_Value

Learn more about styles sheets.

Extended Properties - Additional properties for attributes and/or events that implement specific behaviors of your widget.

Name

Name of the attribute that the HTML element can accept as specified in the HTML language reference.

NA

 

This property is added to the <table> HTML tag that corresponds to this widget.

Learn more about Extending Properties and how widgets are translated into HTML tags.

Value

The value for the attribute.

NA

 

This property is added to the <table> HTML tag that corresponds to this widget.

Learn more about Extending Properties and how widgets are translated into HTML tags.

See Also

About Edit Record Widget | Edit Record Widget Runtime Properties