SimpleFormElement.getDataBrowserFields (Method)

Returns one or more structures, each containing information about simple form fields that will be displayed in a data browser's window; for example, a field's name, description, is it a sort column, and so on.

Returns:

GetDataBrowserFields_Result (query)

Each row of the returned query results has the following fields:

Field Name Type Description
allowHTML Boolean Boolean flag - when true, field is safe to render without using EncodeForHTML().
FieldDescription PlainText The custom element field's description.
FieldID FieldID_NEG1_NEG2_NEG3 A custom element field's ID.
FieldLabel PlainText_NonNull The custom element field's label.
FieldName PlainText_NonNull The custom element field's name.
FieldType PlainText Commonspot field type specified for this field.
isDisplayed Boolean Boolean flag which when set to true indicates that the data browser displays this column.
isSortColumn Boolean Boolean flag which when set to true indicates that CommonSpot sorts results using this field.

Arguments:

Name Type Required Description
formID SimpleFormID Required A simple form's ID.
visibleOnly Boolean Optional. Defaults to '0'. A boolean flag which when set to True indicates that only fields specified to show in the Data Browser Properties dialog will be returned.

Context:

License Requirements (none)
Permission Requirements (none)
Deny Context (none)
Require Context (none)
Author Lock (not required)
Transaction Logging Transaction logging is disabled for this method
Customization Customization is not supported for this method.

Error Codes:

None

Notes:

None