PCF Web API Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Create a PCF Code Component

What you'll be asked

  1. Which property in the control manifest (ControlManifest.Input.xml) must be enabled to allow a PCF component to use the Web API?
  2. When using context.webAPI.createRecord, what is the correct format for the data object parameter?
  3. Which method should you use to retrieve a single record from Dataverse by its ID using the PCF Web API?
  4. What is the primary purpose of the 'options' parameter in the context.webAPI.retrieveMultipleRecords method?
  5. If you are performing a deleteRecord operation, how does the PCF Web API handle a scenario where the record does not exist?

Answers and explanations come after you submit.