-
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
5 Things You Need to Know about Salesforce Commerce Cloud
Salesforce Commerce Cloud, formerly known as Demandware, is a robust and scalable cloud-based platform designed to empower businesses with advanced e-commerce capabilities. As an industry-leading…
What is Single Sign On (SSO)? How does it work in Salesforce?
Single Sign On by the name it is could be easily understood that single credentials to access multiple applications. It is a session service plus…
Popular Salesforce Videos
QuickBooks Salesforce Connector | Setup & Configuration
QuickBooks Salesforce Connector: https://eshopsync.com/quickbooks/ is taking the cloud-based platforms to the new altitudes. Now dealing with QuickBooks unlimited data is much easier than ever before.…
Join Grazitti Interactive At Dreamforce 2022 | Salesforce
Dreamforce, Salesforce’s flagship conference is here once again. Grazitti Interactive, as a proud Navigator Sponsor invites you to meet our experts and discuss our custom…
Salesforce Service Cloud Einstein Bots
Learn how to set up and use Einstein Bots to increase case deflection and reduce service costs through self-service. This webinar gives you a guided…