Activity Forums Salesforce® Discussions What is use of force:recordForm in Lightning Component in Salesforce?

  • Ratnesh

    Member
    September 21, 2020 at 5:53 am

    lightning:recordForm component allows 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:recordEditForm or lightning:recordViewForm.

  • mclaughlin

    Member
    March 5, 2024 at 7:07 am

    The force:recordForm component is a Lightning component that allows you to create a form that can display, edit, or create a Salesforce record. The component automatically switches between view and edit modes, provides default cancel and save buttons, and uses the object's default record layout. The component also handles field-level security and sharing for you, so you don't need to write any Apex code https://developer.salesforce.com/docs/component-library/bundle/lightning:recordForm a small world cup.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos