8 votes
Accepted

How do I create a Lightning web component that shows all the custom list views of an object?

Take a look into the lightning/uiListApi module. It has below functionality - Get list view records and metadata for a list view by API name import { LightningElement, wire } from 'lwc'; import {...
Mohith Shrivastava's user avatar
6 votes
Accepted

lightinng:listview component is showing error "The list view you requested was deleted, or you don't have permission to view it"

This is what I observed while testing this out. I tried the same snippet as in the post and received the same error. After few attempts, realized that if at all your org is namespace enabled (mine is),...
Jayant Das's user avatar
  • 30.3k
5 votes
Accepted

I'm getting this error: LWC component's @wire target property or method threw an error during value provisioning

Welcome to SF Stack Exchange. You are likely getting this error because an error must have occurred during your wire process. From the documentation: data (Any type)—The value supplied by the adapter....
Arthlete's user avatar
  • 4,855
3 votes
Accepted

Lightning component button in Lightning list view

I was struggling with the same issue to add a custom lightning component used as a button to list view. What I learnt that Salesforce has a limitation with adding the lightning component as a button ...
sanket kumar's user avatar
2 votes
Accepted

Does Salesforce or any third party maintain a list of which formulas work in list views?

There's a list maintained in the Relative Date Filter Reference. The current list is as follows: YESTERDAY TODAY TOMORROW LAST WEEK THIS WEEK NEXT WEEK LAST n WEEKS NEXT n WEEKS n WEEKS ...
sfdcfox's user avatar
  • 481k
2 votes

lightinng:listview component is showing error "The list view you requested was deleted, or you don't have permission to view it"

@jayant Solution is correct, I just wanted to add some more info here. If we query ListView Object then we can query SELECT DeveloperName,NamespacePrefix,SobjectType FROM ListView Then while ...
Manjot Singh's user avatar
  • 3,406
2 votes
Accepted

In LWC, How do I dynamically show the records of a listview if the listview is selected from a picklist

As I understand your question, you have a combo box populated with all list view names and that upon change in that you need to re-render your component with the records related to that list view. In ...
Jayant Das's user avatar
  • 30.3k
1 vote
Accepted

List View for Custom Object Does Not Show Fields in its Header

It's not just that they're not in the header, they're not in the rows of the List View either. The List View has a single column, which is DelTestObj Name. The automatically provided Recently Viewed ...
Thomas Taylor's user avatar
1 vote
Accepted

lightning:listView inside vertical lightning:tabset gets clipped

if you want to fix it you can fix it by setting this in css though i am not sure why doesn't it worked by default .THIS .slds-vertical-tabs__content{ overflow:auto; }
User6670's user avatar
  • 2,976
1 vote
Accepted

How can I natively get the list of currently selected records from lightning:listView in the javascript controller?

It turns out that this is not possible right now. I was able to get in contact with the appropriate folks on the Salesforce development team that is responsible for this lightning component and they ...
Robert Hyatt's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible