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 {...
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),...
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....
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 ...
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 ...
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 ...
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 ...
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 ...
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;
}
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
lightninglistview × 31list-view × 17
lightning × 7
lightning-web-components × 6
lightning-aura-components × 5
visual-workflow × 3
lightning-experience × 2
custom-button × 2
picklist × 2
lwc-wire-adapter × 2
quickaction × 2
lwc-wire-getlistui × 2
apex × 1
visualforce × 1
javascript × 1
salesforcedx × 1
managed-package × 1
formula × 1
case × 1
aura × 1
list × 1
customer-community × 1
user × 1
custom × 1
filters × 1