-
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
What Is Custom Metadata type In Salesforce - All You Need to Know
Salesforce has added Custom metadata Setting types on the platform in In Summer 15 Custom metadata type is Similar to custom setting and custom objects…
Sandbox Design for Enterprise-level Implementations!
Wondering how to create a separate environment for development? Looking for different configurations and use cases? Salesforce Sandboxes might be the answer… You might be…
Salesforce Products That Changes the Future of Business
For a business to be successful, it is important to use Customer relationship Management (CRM) to increase your customer base, sales and revenue. The one…
Popular Salesforce Videos
How Is Salesforce Overcoming the Rise In Generative AI?
Discover how Salesforce is harnessing the power of Generative AI to revolutionize customer experiences, streamline processes, and innovate like never before. In this extract discover…
Salesforce Einstein Prediction Builder and Einstein Next Best Action
Salaesforce Einstein Prediction Builder is a declarative tool that helps fast-track predictions based on Salesforce fields. This will help a Salesforce admin to custom-build predictions…
What are Fields in Salesforce? | How to create a Field in Salesforce?
In this video, Shrey is not only teaching but also demonstrating to you "What are Fields in Salesforce?" You will be learning: What are the…