Newer Version Available
FieldSet
Represents a field set. A field set is a grouping of fields. For example, you could have a field set that contains fields describing a user's first name, middle name, last name, and business title. Field sets can be referenced on Visualforce pages dynamically. If the page is added to a managed package, administrators can add, remove, or reorder fields in a field set to modify the fields presented on the Visualforce page without modifying any code.
Version
FieldSet components are available in API version 21.0 and later.
Fields
| Field | Field Type | Description |
|---|---|---|
| availableFields | FieldSetItem[] | An array containing all the possible fields in the field set. |
| description | string | Required. A description provided by the developer that describes the field set. This is required. |
| displayedFields | FieldSetItem[] | An array containing all the fields that are presented on the Visualforce page. The order in which a field is listed determines the order of appearance on the page. |
| label | string | Required. The label used to reference the field set. |
FieldSetItem
FieldSetItem represents an individual field in a field set.