ExamGecko
Question list
Search
Search

Question 214 - Certified B2B Commerce Developer discussion

Report
Export

Which three files are required for a deployable Lightning Web Component called displayMyData that will fetch and display data?

A.
displayMyData.css
Answers
A.
displayMyData.css
B.
displayMyData.js-meta.xml
Answers
B.
displayMyData.js-meta.xml
C.
displayMyData.js
Answers
C.
displayMyData.js
D.
displayMyDataController.cls
Answers
D.
displayMyDataController.cls
E.
displayMyData.html
Answers
E.
displayMyData.html
Suggested answer: A, B, E

Explanation:

For a deployable Lightning Web Component like displayMyData, the required files include the component's CSS file (displayMyData.css) for styling, the metadata configuration file (displayMyData.js-meta.xml) for defining the component's configuration and properties, and the template file (displayMyData.html) for the component's HTML structure. The JavaScript file (displayMyData.js) contains the business logic but is not listed as an option here. For deployment, these files are essential. Refer to the Salesforce LWC documentation for deployment requirements: Salesforce LWC Deployment Documentation.

asked 23/09/2024
Hariett Mambo
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first