Activity Forums Salesforce® Discussions What is the use of hasRecordId in Salesforce?

  • Marziya

    Member
    April 27, 2020 at 6:56 am

    Hii Aditya,
    force:hasRecordId interface
    This interface is used to indicate that a component takes a record (SObject) as an attribute.

  • Ayush

    Member
    April 27, 2020 at 9:56 am

    This interface is used to indicate that a component takes a record (SObject) as an attribute.

  • Manish

    Member
    April 27, 2020 at 11:47 am

    When your component is invoked in a record context in Lightning Experience or the Salesforce app, the recordId is set to the ID of the record being viewed.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos