You need to sign in to do that
Don't have an account?
Stella Wu
Create a Lightning Component
Could someone help? For the trailhead Creating a Lighnting Component challenge, why am I getting the message
Challenge Not yet complete... here's what's wrong: Could not find a Lightning Record Page named 'Account Record Page'.
Thank you!
Challenge Not yet complete... here's what's wrong: Could not find a Lightning Record Page named 'Account Record Page'.
Thank you!
Thanks.
All Answers
From Lightning setup go to Account Object, there you can find an option of record Page. Create a record page with the name defined in the Challange.
Thanks & Best regards
Ajeet
Stella
Thanks.
I am getting the error 'Could not find a component named MyContactList' on the Account record page.' to complete this challenge. I have done the same as mentioned in the trial. My 'MyContactList' component code as,
<aura:component controller="MyContactListController" implements="flexipage:availableForRecordHome,force:hasRecordId" access="global" >
<aura:attribute name="recordId" type="Id" />
<aura:attribute name="Account" type="Account" />
<aura:attribute name="Contacts" type="Contact" />
<aura:attribute name="Columns" type="List" />
<force:recordData aura:id="accountRecord"
recordId="{!v.recordId}"
targetFields="{!v.Account}"
layoutType="FULL"
/>
<lightning:card iconName="standard:contact" title="{! 'Contact List for ' + v.Account.Name}">
<!-- Contact list goes here -->
</lightning:card>
</aura:component>
Could you please help me to complete this?
Thank you!