Universal Containers は、取引先に関連付けられた取引先責任者のリストを取得する Lightning Web コンポーネントとその Apex コントローラクラスを分析します。コードの抜粋は次のとおりです。 コードスニペットに基づいて、Lightning Web コンポーネントで取引先責任者のメールアドレスを表示するにはどのような変更を加える必要がありますか?
正解:D
To display the contacts' mailing addresses in the Lightning web component, both the SOQL query in the getAccountContacts method and the columns attribute in the JavaScript file of the component need to be updated. The query must include the MailingAddress field, and the JavaScript file must be modified to add this field to the columns shown in the lightning-datatable.References: Lightning Web Components Developer Guide - lightning-datatable
最新のコメント (最新のコメントはトップにあります。)
I made a mistake.
The answer is D.
This answer is B