Salesforce Platform Developer I (legacy) — Question 140
A developer created a Lightning web component called StatusComponent to be inserted into the Account record page.
Which two things should the developer do to make this component available? (Choose two.)
Answer options
- A. Addtrueto the statusComponent.js-meta.xml file.
- B. Addlightning_RecordPageto the statusComponent.js file.
- C. Addlightning_RecordPageto the statusComponent.js-meta.xml file.
- D. AddAccountto the statusComponent.js-meta.xml file.
Correct answer: A, C
Explanation
Option A is correct because adding 'true' in the statusComponent.js-meta.xml file allows the component to be used in Lightning App Builder. Option C is also correct since including 'lightning_RecordPage' in the same file specifies that the component can be utilized on record pages. Options B and D are incorrect as they do not correctly configure the component for use on the Account record page.