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

Pros & Cons of Lightning Component vs. 3rd party frameworks in Salesforce UI development

Video in

Nikita drops by to share his invaluable experience of using popular 3rd party frameworks in Salesforce. http://media.blubrry.com/salesforceway/audio.xmcdn.com/group42/M05/25/57/wKgJ81rXk6XjaZIAAU_I_KtprFM998.m4a