Activity Forums Salesforce® Discussions What is the use of output field in lightning component ?

  • Nikita

    Member
    September 11, 2019 at 12:35 pm

    Hi Hariom,

    A lightning:outputField component displays the field value in the correct format based on the field type. It represents a read-only display of a label, help text, and value for a field on a Salesforce object.

  • Saddam

    Member
    September 11, 2019 at 2:45 pm

    Hi Hariom,

    A lightning:outputField component displays the field value in the correct format based on the field type. You must provide the record ID in the wrapper lightning:recordViewForm component, and specify the field name on lightning:outputField.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos