deleteListInfo
Use this wire adapter to delete a list view.
See Delete List View Metadata.
Parameter Name | Type | Description | Required? |
---|---|---|---|
objectApiName | String | The API name of a supported object. | |
listViewApiName | String | The API name of a list view, such as AllAccounts . |
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