-
What is the correct syntax to use <lightning:card> in Salesforce?
This is my code inside <aura:component>
<lightning:card footer="Card Footer" title="Hello"> <aura:attribute name="searchAccountDetails" type="Account" default="{'sobjectType': 'Account', 'Name': ''}"/> </lightning:card>
when I try to save this without using <lightning:card> there are no errors, but with <lightning:card>, it is throwing an error:
ERROR: Invalid attribute "name": Source.
Could some explain why this error is showing?
Log In to reply.
Popular Salesforce Blogs
Salesforce Community Cloud and Its Importance for Your Business
One of the most widely used CRM programs worldwide is Salesforce. Organizations can cater to different aspects of their operations with the help of several…
What Are The Roles And Responsibility Of A Salesforce Consultant?
Salesforce skills if harnessed properly can open the doors of fortune for you. There are many profiles in Salesforce that you can opt for. One…
Types of Data Extensions in Salesforce Marketing Cloud
In Salesforce Marketing Cloud, data extensions are the tables that store our data. It can be from within Marketing Cloud, Sales Cloud, manually added/imported, or…
Popular Salesforce Videos
Work.com Workplace Command Center Demo
Work.com provides you with essential solutions designed to help businesses reopen the workplace as quickly as possible while helping to keep employees, customers, partners, and…
Power of Personal Brand | The Shrey Sharma Show | Salesforce
Shrey is a Chief Executive Officer at Cyntexa, a SILVER Salesforce Consulting Partner in the USA, UK, UAE, Australia, Singapore & India, having a vibrant…
Security Best Practices for Building Lightning Components
Lightning Component is a framework to build Salesforce applications faster. If you are using Salesforce1, you already experiencing the Lightning. It is based on an…