Activity Forums Salesforce® Discussions What are the different methods of force:recordData in Salesforce lightning component?

  • Laveena

    Member
    September 25, 2019 at 1:35 pm

    Hi Nikita,

    By using lightning data service, force:recordData tag is used to define the parameters for accessing, modifying, or creating a record.

    Methods
    Following methods are supported:

    1).  getNewRecord : Set the record to target record.

    2). reloadRecord : Perform the load function on init using current configuration value.

    3). saveRecord : To save the record.

    4). deleteRecord:  To delete the record.

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos