Skip to main content

Questions tagged [lwc-wire-getlistui]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
18 views

Show all records from report via LWC

I'm displaying report records in an LWC page, but I'm only getting 2000 records, even though the report has over 10,000 records. It seems that the report data is limited to 2000 records. How can I ...
Mansy's user avatar
  • 1
0 votes
1 answer
681 views

Get list of Account object using lightning ui* adaptor along with all record in list view without using apex class

I am trying to display Account list view just like we see in Salesforce standard list view so I am trying to use lightning ui* adaptor I have used this module - lightning/uiListsApi and adaptor config ...
Pragati Jain's user avatar
0 votes
1 answer
172 views

Calling child component dynamically until a condition is met

I have recently started coding in LWC and I have a use case that -> I need to call this c-component2 repeatedly from `mycomponent1.html until a condition is met. Is there something I can do to ...
monk's user avatar
  • 3
0 votes
1 answer
243 views

Getting tasks stored in List Views

I need to get the tasks that are stored in list views that are selected by the user. I've tried a couple things that I'll outline below: HTTP API request I've tried making a REST API call to get the ...
John S.'s user avatar
1 vote
0 answers
532 views

Toast is not showing in LWC in community

import { LightningElement, track,wire } from 'lwc'; import { ShowToastEvent } from 'lightning/platformShowToastEvent' import Lead_Object from '@salesforce/schema/Lead'; import {...
Vishal Kumar's user avatar
1 vote
1 answer
320 views

Get picklist values on record type(not a default) without hard-coding of record type id and object have more than one record type in Salesforce

I have a scenario where i have LWC component A and in its html it uses LWC component b (In this LWC component i have built the picklist dependency + record type). So that in component A in HTML i ...
Ajay's user avatar
  • 45
0 votes
0 answers
276 views

getListUi wire returns with 400 - ILLEGAL_QUERY_PARAMETER_VALUE

I query opportunity records using list view developer name, which is used for getListUi. But sometimes, randomly, when I go to the records page, I get this error: Here's the wire for getListUi: @api ...
LostSoul325's user avatar
0 votes
1 answer
888 views

getListUi for metadata in LWC

I need to fetch all records from metadata. But I am facing error like below. yc {status: 404, body: {…}, headers: {…}} body: errorCode: "NOT_FOUND" message: "The requested resource does ...
Adarsh Srinivasan's user avatar
0 votes
1 answer
370 views

How do I make a part of the code run after apex call?

I'm calling an Apex method imperatively inside a wire function. The wire function is used to retrieve listview and it's data. I'm using data from this listview to retrieve pricebookentry fields. ...
Santosh's user avatar
  • 73
0 votes
1 answer
306 views

Value picked from a combobox isn't getting updated to another wire adapter unless I select another value from the combobox

I have a combobox populated with listviews from an object. If I select a listview, those records have to be shown in the table. But the records of a selected object are not being updated unless I ...
Santosh's user avatar
  • 73
1 vote
1 answer
4k views

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

I obtained listviews using getListUi wire adapter. I populated these listviews into a picklist. What I'm trying to achieve is if I select a listview from the picklist, the records need to be updated ...
Santosh's user avatar
  • 73
2 votes
1 answer
41k views

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

I'm using getListUi wire adapter to get listViews of an object and trying to put it into a picklist. But I'm getting the following error. render threw an error in 'c:showListView' [LWC component's @...
Santosh's user avatar
  • 73
0 votes
1 answer
508 views

Issue with LWC uiListAPI(Beta)

I am pretty new to using lwc and I was using the uiListApi to query records for the workorder object. A couple days ago the query was working just fine and I was able to query the records based on the ...
Franky Jiang's user avatar
1 vote
0 answers
1k views

how to pass field value to track variables in lwc and retrive the track variable in a function

Hello I want to pass the IsConverted value into a variable and retrieve it in a function import { LightningElement,track,api,wire} from 'lwc'; import { getRecord } from 'lightning/uiRecordApi'; ...
Aravind Babu B's user avatar
1 vote
2 answers
5k views

Accessing single element of List from Apex in LWC

I have an apex which return list of Account and related Contacts to it. Now that I KNOW how to iterate thru' list of account but I am interested in 1st element of the list.So,I am trying to display ...
LWC_Beginner's user avatar
1 vote
1 answer
3k views

navigator.getUserMedia is not working in Salesforce Lightning Web Component

We are trying to use lightning web component for a requirement in Salesforce where we try to capture the image of the user via webcam and this requirement is specifically for laptops and desktops. ...
Karthick Shanmugam's user avatar
2 votes
1 answer
2k views

Can I use getListUi method with Related List Views?

Apologies if this question doesn't make sense. I'm fairly new to Salesforce and LWC. I am creating a component for the Service Console on the Account page. Essentially I want it to return a list of ...
Thomas Sesselmann's user avatar
1 vote
1 answer
838 views

getListUi returns old list view

I am using following LWC wrapper in aura to get list views: LWC: import { LightningElement, wire, track, api } from 'lwc'; import { getListUi } from 'lightning/uiListApi'; export default class ...
dzh's user avatar
  • 4,155