-
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
Public Groups in Salesforce - The Complete Developer Guide
A public group can be defined as a collection of individual users, other groups, individual roles, and/or roles with their subordinates that all have a…
5 Research-Based Insights to Improve Your Salesforce CRM Performance
Businesses are adopting new digital solutions more than ever to drive growth, boost customer engagement, and witness profitable outcomes. Salesforce bridges the gap between people…
An Ultimate Guide to Salesforce Workflow Automation
Workflow automation is the use of software or other technologies to facilitate and streamline complex business processes. Typically, these processes involve a large number of…
Popular Salesforce Videos
4 Benefits of Salesforce Data Services (ETL)
When your enterprise needs to integrate data from a different application, Salesforce Data Services will help your company in Extracting, Transforming, and Loading the gathered…
Introduction to SFDX Deploy Tool for Windows | Salesforce Integration Tutorial Series
In this tutorial, we're going to learn about SFDX Deploy Tool for Windows. SFDX Deploy Tool helps you to deploy metadata from one Salesforce org…
See the Future of APIs at Salesforce
Salesforce APIs are a way for other applications (or code in other applications) to programmatically access data within your Salesforce org, in a simple and…