Valid PDII Dumps shared by EduDump.com for Helping Passing PDII Exam! EduDump.com now offer the newest PDII exam dumps, the EduDump.com PDII exam questions have been updated and answers have been corrected get the newest EduDump.com PDII dumps with Test Engine here:
A developer is tasked with creating a Lightning web component that allows users to create a Case for a selected product, directly from a custom Lightning page. The input fields in the component are displayed in a non-linear fashion on top of an image of the product to help the user better understand the meaning of the fields. Which two components should a developer use to implement the creation of the Case from the Lightning web component? Choose 2 answers
Correct Answer: B,D
Recent Comments (The most recent comments are at the top.)
AK - Oct 01, 2023
B, C Use the lightning-record-edit-form component to create a form that's used to add a Salesforce record or update fields in an existing record on an object. The component displays fields with their labels and the current values, and enables you to edit their values.
lightning-record-edit-form supports the following features.
Editing a record's specified fields, given the record ID. Creating a record using specified fields. Customizing the form layout Custom rendering of record data If you don't require customizations, use lightning-record-form instead.
To specify editable fields, use lightning-input-field components inside lightning-record-edit-form component. See the Editing a Record section.
B & C are correct. The simple logic is lightning-record-form component displays fields in the default order defined by the object's page layout, and it does not allow changing the placement or ordering of the fields in a non-linear fashion.
Ran - Mar 20, 2023
You dont use lightning-record-form since it does not provide customization of fields. and you cant add slot to it like lightning-input. Please do some research before commenting.
Ran - Mar 20, 2023
Answer is B and C. You just need lightning-record-edit-form with null attributes to record-id & "Case" as objectApiName. This will make the lightning-record-edit-form available for create. Use lightning-input-field to display the fields anywhere in lightning-record-edit-form.
Jardak - Feb 06, 2023
lightning-record-form and lightning-input should be used to implement the creation of the Case from the Lightning web component. lightning-record-form component allows to create, view, and edit a record in a simple form. lightning-input component is used to create input fields and can be used to display fields in a non-linear fashion.
Recent Comments (The most recent comments are at the top.)
B, C
Use the lightning-record-edit-form component to create a form that's used to add a Salesforce record or update fields in an existing record on an object. The component displays fields with their labels and the current values, and enables you to edit their values.
lightning-record-edit-form supports the following features.
Editing a record's specified fields, given the record ID.
Creating a record using specified fields.
Customizing the form layout
Custom rendering of record data
If you don't require customizations, use lightning-record-form instead.
To specify editable fields, use lightning-input-field components inside lightning-record-edit-form component. See the Editing a Record section.
https://developer.salesforce.com/docs/component-library/bundle/lightning-record-edit-form/documentation
B & C are correct.
The simple logic is lightning-record-form component displays fields in the default order defined by the object's page layout, and it does not allow changing the placement or ordering of the fields in a non-linear fashion.
You dont use lightning-record-form since it does not provide customization of fields.
and you cant add slot to it like lightning-input. Please do some research before commenting.
Answer is B and C.
You just need lightning-record-edit-form with null attributes to record-id & "Case" as objectApiName.
This will make the lightning-record-edit-form available for create.
Use lightning-input-field to display the fields anywhere in lightning-record-edit-form.
lightning-record-form and lightning-input should be used to implement the creation of the Case from the Lightning web component. lightning-record-form component allows to create, view, and edit a record in a simple form. lightning-input component is used to create input fields and can be used to display fields in a non-linear fashion.
Answer is C and D :
https://developer.salesforce.com/docs/component-library/bundle/lightning-record-form/documentation
The answer is B and C .
ref :https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/data_service.htm
The correct answer is B and C, combining both of them you can have a form to create a case record
https://developer.salesforce.com/docs/component-library/bundle/lightning-input-field/documentation
The correct answer is C, D [lightning-record-form in create mode] and lightning-input-field to follow the field type along with help text.
lightning-record-edit-form is to edit the record. not to create the records.