Valid CRT-450 Dumps shared by ExamDiscuss.com for Helping Passing CRT-450 Exam! ExamDiscuss.com now offer the newest CRT-450 exam dumps, the ExamDiscuss.com CRT-450 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com CRT-450 dumps with Test Engine here:
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
Correct Answer: B,C
To make an LWC available for use on a record page: Target Configuration: Add<target>lightning__RecordPage</target>in 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:<?xml version="1.0"encoding="UTF-8"?> <LightningComponentBundlexmlns="http://soap.sforce.com/2006/04/metadata"> <apiVersion>57.0</apiVersion> <isExposed>true</isExposed> <targets> <target>lightning__RecordPage</target> </targets> </LightningComponentBundle> A: Incorrect placement. The<target>tag must be in the.js-meta.xmlfile, not the JavaScript file. D: The<masterLabel>tag is used for metadata labeling, not for exposing or targeting a component. References:LWC Metadata Configuration: https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.create_metadata_config_file