Activity Forums Salesforce Questions and Answers What is the use of <lightning:recordViewForm > in Salesforce ?

  • What is the use of <lightning:recordViewForm > in Salesforce ?

  • Kirandeep

    Member
    February 13, 2020 at 4:09 pm

    What is the use of <lightning:recordViewForm > in Salesforce ?

  • MOHIT

    Member
    February 14, 2020 at 8:37 am

    A lightning:recordViewForm component enables you to display read-only record data with one or more fields and labels associated with that record. You can customize the form layout or provide custom rendering of record data.

    To create read-only fields, use the lightning:outputField component inside lightning:recordViewForm.

    lightning:recordViewForm 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.

Viewing 1 - 2 of 2 posts

Log in to reply.

Original Post
0 of 0 posts June 2018
Now