-
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 Serverless PayPal Integration in 2024
Integrating payments into your Salesforce solution typically involves setting up both a client-side environment configured with a payment SDK and a server-side component equipped with…
Salesforce Twilio Integration: A Guide for Easy Integration
In this era, smartphones created a new revolution. It brings a novel approach to our communication habits. Today SMS is a valuable tool for sending…
Top 10 Pardot Features - Salesforce Winter '22 Release
Salesforce has released the Winter ’22 release notes recently. As expected the new release is jam-packed with amazing features. Our team has curated the top…
Popular Salesforce Videos
How To Reset Salesforce Security Token?
Salesforce security token is a case-sensitive unique key that is used to work with Salesforce API. In this video I will show you how to…
Custom Aura Feed Component | forceChatter:feed | Chatter in #Salesforce | Salesforce Tutorials
In this vlog I will create a custom aura feed component with two picklists to select Group and then based on the Group selection, select…
Customized Ideas Management on Salesforce Experience Cloud | IdeasPro by Grazitti
Learn how IdeasPro enables you to drive business growth by making the most of ideas on Salesforce communities, in this video.