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 the component available?
Correct Answer: A,B
To make a Lightning web component available for a specific page type, such as the Account record page, the developer needs to do two things: expose the component and target the page type. Exposing the component means setting the <isExposed> tag to true in the component's metadata file (statusComponent.js-meta.xml). This makes the component visible in the Lightning App Builder and other tools. Targeting the page type means adding the <target> tag with the appropriate value in the same metadata file. For the Account record page, the value should be lightning__RecordPage. This specifies that the component can be used on any object's record page. The <masterLabel> tag is optional and defines the display name of the component in the Lightning App Builder. The <target> tag should not be added to the component's JavaScript file (statusComponent.js), as this is not a valid syntax and will cause an error. References: * Configure Components for Lightning Pages and the Lightning App Builder from the Lightning Web Components Developer Guide * Metadata for Lightning Web Components from the Lightning Web Components Developer Guide * Lightning Web Components from the Salesforce Developer Center