updateListInfoByName

Use this wire adapter to update a list view’s metadata.

See Update List View Metadata.

Parameter NameTypeDescriptionRequired?
objectApiNameStringThe API name of a supported object.Yes
listViewApiNameStringThe API name of a list view, such as AllAccounts.Yes
displayColumnsString[]The display columns (field API names) for the list.
filterLogicStringStringThe filter logic string, such as (1 OR 2) and 3. Indexes start with 1.
filteredByInfoObjectFiltering information for the list. Type List Filter By Info Input[].
labelStringThe list’s display label. For example, All Accounts.
listSharesString[]Objects the list is shared with, if visibility is set to Shared.
scopeObjectThe scope information for the list. See List Scope Input.
visibilityStringThe list’s visibility. Valid values are:
  • Private
  • Public
  • Shared
.

This code example updates the list view’s label on the button click.

See Also