You need to sign in to do that
Don't have an account?

Trailhead module Lightning Data Service Basics - Manipulate Records with force:recordData unable to complete challenge
Hi,
I am trying to complete the challenge Lightning Data Service Basics - Manipulate Records with force:recordData and I am getting the followling error:

Could please assist ?
Thanks for your help.
I am trying to complete the challenge Lightning Data Service Basics - Manipulate Records with force:recordData and I am getting the followling error:
Challenge Not yet complete... here's what's wrong: Could not find either the 'accEdit' component, 'accDisplay' component or both components in the Account Record Page.This is strange because the 2 components are indeed on the page:
Could please assist ?
Thanks for your help.
All Answers
Your layout should work too (strange).
Alain
Could not find either the 'accEdit' component, 'accDisplay' component or both components in the Account Record Page."
if attached the screenshot step by step ... Tried in two different environment but no luck..
Please help.
Shashi
Manipulate Records with force:recordData
Step 1: Create accEdit.cmp
Step 2: Create Display component accDisplay.cmp
Step 3: Controller class for accEditController.js
After all the steps create Lighting App builder
Click New-->Record Page-->Give "Account Record Page"-->Object "Account"--->Select Header and Right Sidebar-->In side Side put both the component -->Save-->Activation-->Make it default org.
Please markit as best Answer and like...
I tried your code but i am getting below error.
Failed to save accDisplay.cmp: The component must implement at least one of flexipage:availableForAllPageTypes,home:availableForDesktop interface.: Source
Can you please help me to resolve this issue.
Many thanks
I added flexipage:availableForAllPageTypes to implements and it is working now.
Thankyou shashi:-)
Thank you.It works fine..
Please like my answer, congratulation...
Regards,
Shashi Kumar
Hi Please find an answer for the trailhead module, if you need any help please feel free to left the message and appreciate if you would click the like option as well.
I also have slightly extra code to practice the trailhead module concept as well.
accEdit.cmp
accDisplay.cmpaccEditController.js
Go to the Account Record page
Click on the Edit Page
On the lightning page, please add both the components accDisplay and accEdit
Save it as default org.
Help me to resolve this issue
Could not find either the 'accEdit' component, 'accDisplay' component or both components in the Account Record Page.
i have completed the module recently .if you face any errors please verify with the code mentoned in the below post :
Lightning Data Service module (https://salessforcehacks.blogspot.com/2020/02/lightning-data-service-basics-for-aura.html)