Questions tagged [lwc-wire-getlistui]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
42 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 ...
0
votes
1answer
63 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. ...
0
votes
1answer
30 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 ...
0
votes
1answer
111 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 ...
0
votes
1answer
2k 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 @...
0
votes
1answer
128 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 ...
1
vote
0answers
239 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'; ...
1
vote
2answers
2k 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 ...
1
vote
1answer
913 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. ...
1
vote
1answer
1k 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 ...
1
vote
1answer
419 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 ...