Posts

Showing posts from May, 2019
Lightning Web Component : lightning-record-view-form A  lightning-record-view-form  component is a wrapper component that accepts a record ID and is used to display one or more fields and labels associated with that record using  lightning-output-field . lightning-record-view-form  requires a record ID to display the fields on the record. It doesn't require additional Apex controllers or Lightning Data Service to display record data. This component also takes care of field-level security and sharing for you, so users see only the data they have access to. Displaying Record Fields : To display the fields on a record, specify the fields using lightning-output-field. Attributes: NAME ACCESS ...
Image
Lightning Web Component: lightning-record-form A  lightning-record-form  component enables you to quickly create forms to add, view, or update a record.  Using this component to create record forms is easier than building forms manually with  lightning-record-edit-form  and  lightning-record-view-form . However,  lightning-record-form  does not support client-side validation quite the same as  lightning-record-edit-form . The object-api-name attribute is always required, and record-id is required if you are editing a record. NOTE: this component take cares of field-level security and sharing for you, so users will only see the data that they have access to. Modes This component accepts mode value that determines the user interaction determine for them. The values can be one of the following: a. edit :  Creates an editable form to add a record or update an existing one. When updating an existing record, specify the...