Salesforce
PDII · Question #10
A Lightning Component functions in preview mode and needs to be used inside a Lightning App Builder page, but it is not available. What change should be applied to the component?
The correct answer is A. Expose it in the markup using the implements and access attributes. See the full explanation below for the reasoning.
Question
A Lightning Component functions in preview mode and needs to be used inside a Lightning App Builder page, but it is not available. What change should be applied to the component?
Options
- AExpose it in the markup using the implements and access attributes.
- BDelete the component, metadata, and Apex controller and recreate them.
- CRefresh the sandbox and upgrade it to the latest API version.
- DLook for errors in the logic in the JavaScript controller.
How the community answered
(71 responses)- A85% (60)
- B3% (2)
- C8% (6)
- D4% (3)
Community Discussion
No community discussion yet for this question.