Salesforce Certified Platform Developer II — Question 230

A Lightning web component exists in the system and displays information about the record in context as a modal. Salesforce administrators need to use this component within the Lightning App Builder.

Which two settings should the developer configure within the xml resource file? (Choose two.)

Answer options

Correct answer: C, D

Explanation

The correct answer requires setting the IsExposed attribute to true, which allows the component to be used in the Lightning App Builder, and specifying the target as lightning__RecordPage to indicate that it is intended for record pages. Option A is incorrect because while IsVisible controls visibility, it does not affect the component's usability in the App Builder. Option B is incorrect as it does not pertain to record pages but app pages.