exam questions

Exam CRT-450 All Questions

View all questions & answers for the CRT-450 exam

Exam CRT-450 topic 1 question 323 discussion

Actual exam question from Salesforce's CRT-450
Question #: 323
Topic #: 1
[All CRT-450 Questions]

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.)

  • A. Add true to the statusComponent.js-meta.xml file.
  • B. Add lightning_RecordPage to the statusComponent.js file.
  • C. Add lightning_RecordPage to the statusComponent.js-meta.xml file.
  • D. Add Account to the statusComponent.js-meta.xml file.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
irina_735
Highly Voted 8 months ago
Selected Answer: AC
<isExposed>true</isExposed> and <target>lightning__RecordPage</target> in *.js-meta.xml file
upvoted 5 times
...
DonAldos
Most Recent 1 year, 1 month ago
Selected Answer: BC
To make the StatusComponent available on the Account record page B & C are required. First: import lightning_RecordPage from 'lightning/RecordPage'; in JS file Second: Add <target>lightning__RecordPage</target> in XML file
upvoted 1 times
...
RMEZZA
1 year, 3 months ago
Asked chatgpt: C. Add lightning_RecordPage to the statusComponent.js-meta.xml file. D. Add Account to the statusComponent.js-meta.xml file. To make the StatusComponent available to be inserted into the Account record page, the developer needs to specify in the component's metadata that it should be available for use on record pages, and that it should be available for use with Account records specifically. This is done by adding the "lightning_RecordPage" interface to the component's metadata, and specifying that the component should be available for use with the "Account" object in the metadata.
upvoted 2 times
...
tonywang531
1 year, 3 months ago
Option A is meant to be "Ensure isExposed is set to true on the XML file."
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago