Salesforce Certified Platform Developer II — Question 271
A developer wants to use an Aura component with a custom action.
What should be considered in order to do this?
Answer options
- A. A default value must be provided for each component attribute marked as required
- B. The class ג€slds-modal_ _containerג€ must be added to the top-level element of the component
- C. The component must implement the flexipage:availableForRecordHome interface
- D. The component's JavaScript controller must handle a method on initialization
Correct answer: A
Explanation
The correct answer is A because when an Aura component is used with a custom action, it is crucial to provide default values for required attributes to ensure proper functionality. Options B, C, and D may relate to other aspects of Aura components but do not specifically address the requirements for using them with custom actions.