-
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
Why Do Businesses Need Salesforce in 2021?
As a cloud-based CRM platform, Salesforce provides businesses with the means to manage their events and tasks and track customer cases. It also allows the…
Forceea: The Enterprise Data Factory We've Been Waiting For | Salesforce
Introduction Everybody needs testing records of SObjects: Developers need testing data for their unit tests. Testers need data for testing. Administrators and architects need data…
Salesforce Lightning Vs. Salesforce1 Mobile Device Components
Salesforce1 and Salesforce Lightning are the two most popular Salesforce platforms, used by Salesforce Developers, especially those who are into the mobile application development field…
Popular Salesforce Videos
New Product: RepBlaze on Salesforce AppExchange
Visit on AppExchange: Click Here As a Sales manager, if you deal with 1000’s of inbound and other leads everyday and would love to automate…
Do you need to learn Salesforce Admin & App Builder if you want to become Salesforce developer ?
5 reasons why you need to learn the Salesforce Admin and App Builder even if you want to become or you are a Salesforce Developer.…
Salesforce Tower San Francisco Virtual Community Tour
Wherever you are around the world, join us for a virtual tour of Salesforce Tower San Francisco, our global headquarters. Together, we’ll take a walk…