Activity Forums Salesforce® Discussions How to create object Type attribute in lightning component?

  • How to create object Type attribute in lightning component?

    Posted by Aditya on November 12, 2020 at 2:52 pm

    How to create object Type attribute in the lightning component in Salesforce?

    Marziya replied 4 years ago 3 Members · 2 Replies
  • 2 Replies
  • Ayush

    Member
    November 17, 2020 at 11:07 am

    <aura:attribute name="data" type="Object" />

  • Marziya

    Member
    November 17, 2020 at 12:03 pm

    An attribute can have a type corresponding to an Object. For example :-
    <aura:attribute name="data" type="Object" />

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos