You need to sign in to do that
Don't have an account?
M Y Cheung
Quick Start: Lightning Components: Retrieve a Contact List
Hi,
Cannot save the Controller, please help.
https://trailhead.salesforce.com/projects/quickstart-lightning-components/steps/quickstart-lightning-components4
Cannot save the Controller, please help.
https://trailhead.salesforce.com/projects/quickstart-lightning-components/steps/quickstart-lightning-components4
Use below things:
MyContactListController.apxc MyContactList.cmp MyContactListController.js If this answers your question mark Best Answer it as solution and then hit Like!
<aura:handler name="init" value="{!this}" action="{!c.myAction}" />
If this answers your question mark Best Answer it as solution and then hit Like!
Hi Lucia Cheung,
Tej is already added.
Modified but still got the error:
Challenge Not yet complete... here's what's wrong:
The component does not include a 'aura:handler'
I have been able to complete the challenge successfully, however I don't see the contact list in the component!!
Instead of:
<lightning:datatable data="{! v.Contacts }" columns="{! v.Columns }" hideCheckboxColumn="true"/>
It should be: (keyField is required)
<lightning:datatable data="{!v.Contacts }" columns="{!v.Columns }" hideCheckboxColumn="true" keyField="id" />