Very nice video on how to use LWC. I am not able to see the format of the object [info , records], it is displaying me as [object,object], is there any setting i need to enable.. any inputs to enable the [info, records] is appreciated. Also, when i print the temp1, it is erroring out. thanks in advance.
@@salesforcetroop - thanks for getting back, Yes i am aware of JSON Stringify .. you were using just the console.log in the video and you were able to see the details.. just wondering how that was possible ?
Can anyone help with this error? dragAndDrop.js:1 Uncaught (in promise) TypeError: LWC component's @wire target property or method threw an error during value provisioning. Original error: [Cannot read properties of null (reading 'fields')]
let returnMap = []; returnMap = Array.from(data.records.records).map(item => { let field = item.fields; let account = field.Account.value.fields; return {'Id': field.Id.value, 'Name': field.Name.value, 'AccountId': account.Id.value, 'AccountName': account.Name.value, 'CloseDate': field.CloseDate.value, 'StageName': field.StageName.value, 'Amount':field.Amount.value} }); console.log('getListUi', JSON.stringify(returnMap)); I used this code to resolve this error!
Your lectures are worth a ton ! Thank you so much bhayya
This is kool will help great deal in building nice app keeping user experience simple...
Really very nice
Hi, can you also make video on how to add search bar and filter in this kanban board.
great nikhil
If I have to do this for dynamic field of dynamic object how I can do this??
Hi nikhil, can i also build this project in my dev org? or scratch org is necessary?
dev org is fine
@@salesforcetroop hii can i do it with custom object ? i have been doing this with custom object but temp1.records.records query did't work sir
Thank you So much sir.....sir can you please share git hub link
Very nice video on how to use LWC. I am not able to see the format of the object [info , records], it is displaying me as [object,object], is there any setting i need to enable.. any inputs to enable the [info, records] is appreciated. Also, when i print the temp1, it is erroring out. thanks in advance.
use console.log(JSON.stringify(data))
@@salesforcetroop - thanks for getting back, Yes i am aware of JSON Stringify .. you were using just the console.log in the video and you were able to see the details.. just wondering how that was possible ?
I guess I have done some settings in my chrome. I am not sure right. I will chk and let you know.
@@vclearnconfidentv6598 I guess you have used "+" operator instead of "," in console.log
Can anyone help with this error?
dragAndDrop.js:1 Uncaught (in promise) TypeError: LWC component's @wire target property or method threw an error during value provisioning. Original error:
[Cannot read properties of null (reading 'fields')]
I am also facing same issue do you get how to resolve this
let returnMap = [];
returnMap = Array.from(data.records.records).map(item => {
let field = item.fields;
let account = field.Account.value.fields;
return {'Id': field.Id.value, 'Name': field.Name.value, 'AccountId': account.Id.value, 'AccountName': account.Name.value, 'CloseDate': field.CloseDate.value, 'StageName': field.StageName.value, 'Amount':field.Amount.value}
});
console.log('getListUi', JSON.stringify(returnMap));
I used this code to resolve this error!