CustomElement.saveDataBrowserProperties (Method)

Either creates a new custom element or updates an existing one.

Returns:

Void

Arguments:

Name Type Required Description
elementID CustomElementID Required A custom element's ID.
displayedFieldIDList FieldID_NEG1_NEG2_NEG3_List Required A comma-delimited list of the IDs for the fields that CommonSpot displays in the data browser.
recordsPerPage RecordsPerPage Required The number of records to appear on a page in the data browser, as follows: 5, 10, 25, 50, 75, 100, and 'All'.
sortColumnID FieldID_NEG1_NEG2_NEG3 Required The ID of the field that CommonSpot uses to sort retrieved information. This field must be one of those entered into the 'displayFieldIDList' argument.
sortDirection SortDirection Optional. Defaults to 'ASC'. The direction in which CommonSpot sorts a column, as follows: 'ASC' or 'DESC'.

Context:

License Requirements None
Permission Requirements customElement:Admin
Deny Context None
Require Context AuthoringEnabled
Author Lock (not required)
Transaction Logging If transaction logging is enabled at the site level, calls to this method will be logged
Customization This method may be customized at the site level

Error Codes:

Code Error Message
9004 The SortColumnID argument must be one of the values in the DisplayedFieldIDList argument.
9006 Duplicate fields exist in the DisplayedFieldIDList argument list.

Notes:

None