nerdexam
Salesforce

PDII · Question #391

A developer is writing a Lightning Web page that queries accounts in the system and presents a lightning-datatable with the results. The users want to be able to filter the results based on up to…

The correct answer is B. describeSObjects(). See the full explanation below for the reasoning.

Question

A developer is writing a Lightning Web page that queries accounts in the system and presents a lightning-datatable with the results. The users want to be able to filter the results based on up to five fields, that will vary according to their selections when running the page. Which feature of Apex code is required to facilitate this solution?

Options

  • ASOSL queries
  • BdescribeSObjects()
  • CDynamic SQL
  • DREST API

How the community answered

(63 responses)
  • A
    16% (10)
  • B
    75% (47)
  • C
    6% (4)
  • D
    3% (2)

Community Discussion

No community discussion yet for this question.

Full PDII Practice