-
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
Blog LinkedIn Sales Navigator Integration With Salesforce: Expectations vs. Reality
Salespeople secure deals that are 42% larger when leveraging Sales Navigator to connect with decision makers. LinkedIn Sales Navigator integration with Salesforce creates an even more powerful…
Salesforce Quip Integration — Get Everyone on the Same Page — Literally
Workplace Collaboration among stakeholders and team members is crucial to success in any business undertaking. It is a sign of an effective team and harnesses…
Details About Separation of Concerns | Salesforce Developer Guide
At the point when You Don't Need SOC on Force.com One critical advantage of Force.com is its definitive improvement model that allows you to make…
Popular Salesforce Videos
Practice Questions and Test for Salesforce Administrator ADM 201 Certification Exam | 2021
In this video, Shrey provides a practice test for the candidates who are preparing for the Salesforce Administrator exam. This test boosts your confidence and…
Build Smarter Apps with Einstein Object Detection
Einstein Object Detection allows you to easily integrate advanced computer vision technology into your Salesforce workflows and external applications. Join us and learn how to…
MailChimp Salesforce Integration
The MailChimp and Salesforce integration allow you to start creating email campaigns from the leads and contacts in your Salesforce CRM. With the integration, it becomes easy to create list segmentation…