ExamGecko
Question list
Search
Search

List of questions

Search

Question 202 - Certified B2B Commerce Administrator discussion

Report
Export

Which Lightning web component path allows a developer to view or edit a record while maintaining control over specifying its layout and set of fields?

A.
lightning-record-edit-form
Answers
A.
lightning-record-edit-form
B.
lightning-record-imperative
Answers
B.
lightning-record-imperative
C.
lightning-record-view-form
Answers
C.
lightning-record-view-form
D.
lightning-record-form
Answers
D.
lightning-record-form
Suggested answer: A

Explanation:

The lightning-record-edit-form component allows a developer to view or edit a record while maintaining control over specifying its layout and set of fields. It is a wrapper component that accepts a record ID and an object API name, and displays fields with their labels and current values. The developer can use lightning-input-field components inside the lightning-record-edit-form to create editable fields, and lightning-output-field components or other display components to show read-only information. The lightning-record-edit-form component also implements Lightning Data Service, which means it does not require additional Apex controllers to create or update records, and it handles field-level security and sharing automatically.

asked 23/09/2024
William Hanna
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first