updateListInfoByName
Use this wire adapter to update a list view’s metadata.
See Update List View Metadata.
objectApiName
–(Required) The API name of a supported object.listViewApiName
–(Required) The API name of a list view, such asAllAccounts
.displayColumns
–The display columns (field API names) for the list.filterLogicString
–The filter logic string, such as(1 OR 2) and 3
. Indexes start with 1.filteredByInfo
–Filtering information for the list. Type List Filter By Info Input[].label
–The list’s display label. For example, All Accounts.listShares
–Objects the list is shared with, ifvisibility
is set toShared
.scope
–The scope information for the list. See List Scope Input.visibility
–The list’s visibility. Valid values are:Private
Public
Shared
data
—List Infoerror
–FetchResponse
This code example updates the list view’s label on the button click.
See Also
- Understand the Wire Service
- Handle Errors in Lightning Data Service
- Salesforce Objects Supported by lightning/ui*Api Modules