Salesforce Certified OmniStudio Developer — Question 37
A developer needs to create a DataRaptor to retrieve the name of an account for a contact.
Following best practices, how should a developer configure the extraction steps?
Answer options
- A. Define extraction steps for the Contact and the Account objects, and set the Extract JSON Path to Contact.Account.Name
- B. Define extraction steps for the Contact and the Account objects, and set the Extract JSON Path to Account.Name
- C. Define an extraction step for the Contact object and set the Extract JSON Path to Contact:Account.Name
- D. Define an extraction step for the Account object, and set the Extract JSON Path to Account:Contact.Name
Correct answer: C
Explanation
The correct answer is C because it accurately defines an extraction step for the Contact object, allowing access to the related Account name through the specified JSON Path. Options A and B incorrectly reference the Account object for extraction, which does not align with the requirement to retrieve the account name via the contact. Option D also incorrectly focuses on the Account object instead of the Contact object.