-
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 Campaigns in Salesforce in 2023?
One of the most important features of Salesforce is its Campaign feature, which allows businesses to plan, execute, and track marketing campaigns. A campaign in…
Learn About Users Permissions and Access in Salesforce
1. User Permissions User permissions determine what tasks users can perform and what features users can access. For example, users with the “View Settings and…
How Non-Profit Organizations Can Make The Most Of Salesforce
Just like a business, nonprofits can also use Salesforce for streamlining workflows that benefit both internal and external stakeholders. Salesforce helps nonprofit organizations manage donation…
Popular Salesforce Videos
Building a Business Case for an Investment in Salesforce - Education Cloud
Education Cloud is a leading platform that empowers your institution to become a Connected Campus, so you can transform the student journey. With the power…
Creating a Roll-up Using DLRS | Salesforce Tutorial Video
In certain situations, an object does not support a roll-up or the relation is not permitted. Learn how to make it possible by using the…
SALESFORCE LIGHTS: The Crown above San Francisco
Visible by more than 20 miles away, Jim Campbell's massive LED art installation on the crown of the Salesforce Tower premiered last week. Situated above…