-
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
How to Write a Batch Apex in Salesforce
In this post, let us learn about the Batch Apex and its usage. Once after completing this post, you will be able to write a…
5 Ways Salesforce CPQ can Transform Your Sales Process
You understand the value of streamlining your sales process as a salesman. You can spend more time completing business if you spend less time making…
Salesforce Tips and Tricks for Data Integration
User experience is one of the most important aspects of any prominent business endeavor. However, to keep your consumers satisfied with your service or product…
Popular Salesforce Videos
Top 5 Features Salesforce Winter Release '21
Even though we're in the middle of one of the strangest summers in our lives, we can rely on one constant: releases from Salesforce. It's…
How to Download Backup Files from Salesforce Using UIPath Robots
How to download backup files from Salesforce using UiPath robots. How to get the latest file from the folder: Directory.GetFiles(“YOUR FOLDER”).OrderByDescending(Function(d) New FileInfo(d).CreationTime).First The link…
Salesforce Marketing Cloud Email Studio | Marketing Cloud Tutorial
Learn all about Salesforce marketing cloud email studio. In this video, the following points will be covered - 1. Overview Of Email Studio & Content…