nerdexam
Salesforce

PDII · Question #207

A developer is writing a Visualforce page that queries accounts in the system and presents a data table with the results. The users want to be able to filter the results based on up to five fields…

The correct answer is C. Dynamic SOQL. See the full explanation below for the reasoning.

Question

A developer is writing a Visualforce page that queries accounts in the system and presents a data table with the results. The users want to be able to filter the results based on up to five fields. However, the users want to pick the five fields to use as filter fields when they run the page. Which Apex code feature is required to facilitate this solution?

Options

  • AStreaming API
  • BDynamic variable binding
  • CDynamic SOQL
  • DReport API

How the community answered

(43 responses)
  • A
    14% (6)
  • B
    5% (2)
  • C
    79% (34)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full PDII Practice