deleteListInfo
Use this wire adapter to delete a list view.
See Delete List View Metadata.
objectApiName
–(Required) The API name of a supported object.listViewApiName
–(Required) The API name of a list view, such asAllAccounts
.
If a list view is deleted successfully, there’s no response.
error
–FetchResponse
This code example deletes a list view when the button is clicked.
See Also
- Understand the Wire Service
- Handle Errors in Lightning Data Service
- Salesforce Objects Supported by lightning/ui*Api Modules