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 2 answers
Add lightning_Recordpage to the statuscomponent. js file,
Add lightning RecordPage to the statusComp .js-meta.xml file.
Set is Exposes to true In the statuscomponent.js-meta.xml file.
Add Account to the statusComponent. js-meta.xm1 file.
To make an LWC available for use on a record page:
Target Configuration:
Addlightning__RecordPagein the component's.js-meta.xmlfile to specify where the component can be used.
Expose the Component:
SetisExposedtotruein the.js-meta.xmlfile to make the component available for use.
Example.js-meta.xmlFile:
<apiVersion>57.0</apiVersion>
true
lightning__RecordPage
A: Incorrect placement. Thetag must be in the.js-meta.xmlfile, not the JavaScript file.
D: Thetag is used for metadata labeling, not for exposing or targeting a component.
Submit