Activity › Forums › Salesforce® Discussions › How to create object Type attribute in lightning component? Salesforce® Discussions 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 5 years, 5 months ago 3 Members · 2 Replies 2 Replies Ayush Member November 17, 2020 at 11:07 AM <aura:attribute name=”data” type=”Object” /> [adinserter block='9'] 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. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me