ExamGecko
Question list
Search
Search

List of questions

Search

Question 189 - Certified B2B Commerce Administrator discussion

Report
Export

A developer has just deployed a new Lightning web component called myNewLwcComp to an authorized org. The developer tries to find the component in the Lighting Page Builder, but it does not come up in searches. Which two steps should the developer take next?

A.
Ensure that the metadata isExposed property is set properly in source code
Answers
A.
Ensure that the metadata isExposed property is set properly in source code
B.
Redeploy the component
Answers
B.
Redeploy the component
C.
Close the browser and reopen the page
Answers
C.
Close the browser and reopen the page
D.
Ensure it has a target of lightning__FlowScreen
Answers
D.
Ensure it has a target of lightning__FlowScreen
Suggested answer: A, D

Explanation:

To make a Lightning web component available in the Lightning Page Builder, the developer needs to ensure that the metadata isExposed property is set properly in source code and that it has a target of lightning__FlowScreen. The isExposed property in the component configuration file (the .js-meta.xml file) determines whether the component is exposed to Lightning App Builder or not.The developer must set this property to true to make the component visible in the builder1. The target property in the same file specifies where the component can be used.The developer must include lightning__FlowScreen as one of the targets to make the component available for flow screens2. Redeploying the component or closing and reopening the browser will not solve the issue if the metadata properties are not configured correctly.Reference:Expose Your Component to Lightning App Builder,Configure Components for Flow Screens

asked 23/09/2024
Reselan Govender
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first