updateListPreferences

Use this wire adapter to update the preferences for a list view.

See Update List View Metadata.

  • objectApiName—(Required) The API name of a supported object.
  • listViewApiName–(Required) The API name of a list view, such as AllAccounts.
  • columnWidths—The column-width preferences for the list.
  • columnWrap—The column-wrapping preferences for the list.
  • listReference—The reference information for the list.
  • orderedBy—The ordering preference for the list.

This code example updates a list view’s preferences and displays the updated values.

See Also