ExamGecko
Question list
Search
Search

Question 181 - Certified B2B Commerce Developer discussion

Report
Export

What target does a developer need to set in the js-meta.xml file when creating a custom LWC component for use in the Checkout Flow?

A.
lightning_FlowScreen
Answers
A.
lightning_FlowScreen
B.
lightning__CheckoutFlow
Answers
B.
lightning__CheckoutFlow
C.
Iwe__FlowComponent
Answers
C.
Iwe__FlowComponent
D.
lwe__flow
Answers
D.
lwe__flow
Suggested answer: C

Explanation:

When creating a custom Lightning Web Component (LWC) for use in the Checkout Flow, a developer must set the target in the js-meta.xml file to lwc__FlowComponent. This target specifies that the LWC is intended for use within the flow component framework, allowing it to be utilized specifically in the context of Salesforce Flows, including those used in the checkout process. Salesforce documentation on developing custom LWCs for various targets would detail this requirement, ensuring that developers understand how to correctly package and deploy their components for the intended use case.

asked 23/09/2024
Matthew Cole
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first