-
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 Are The Roles And Responsibility Of A Salesforce Consultant?
Salesforce skills if harnessed properly can open the doors of fortune for you. There are many profiles in Salesforce that you can opt for. One…
Salesforce Distributed Marketing – Enabling the last mile to connect!
Salesforce Distributed Marketing – When you utter the name of a brand and people are able to instantly recognize, it’s not just because they know…
How Salesforce Einstein Can Help You Improve Your Lead Scoring?
In a previous article, we discussed Predictive Lead Scoring and its importance for contemporary marketing. In addition, we saw how the Salesforce CRM, with its cutting-edge…
Popular Salesforce Videos
How To Use Trailhead To Become A Salesforce Developer
Trailhead is the fun way to learn Salesforce. In this session we'll show you how to leverage Trailhead to quickly and easily learn Salesforce and…
Data Import: Prepare your Data for Import | Salesforce
This short video walks you through how to clean up your import files in preparation for getting your data into Salesforce. We'll walk you through…
Public Groups In Salesforce | Salesforce Development Tutorial
Public Groups In Salesforce. In this video, the following points will be covered - 1. Introduction Get a brief introduction about public groups. 2. Purpose…