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

Can't find the forceContent:fileUpload Lightning component in the 'New Lead' flow. Make sure the field’s unique name is 'Upload_File'
Hi,
I'm doing trailhead challenge, and get some error, do you know how to fix this ?
Here's the challenge
Challenge Requirements:
Create a flow:
Name: New Lead
Type: Screen Flow
In the flow, add a screen with these required screen fields.
Last Name
Company Name
In the flow, create a lead record.
Use the screen fields to set the lead’s Last Name and Company.
Store the lead’s ID in a Text variable called leadId.
In the flow, add another screen with a Lightning component screen field.
Name the field Upload_File
Choose the forceContent:fileUpload Lightning component.
Use the leadId variable to set the component's Related Record ID attribute.
Activate the New Lead flow.
Create a new Lightning page:
Type: Home page
Label: Process Automation Home
In Process Automation Home, add a Flow component that references the New Lead flow.
Activate the page and set it as the default Home page.
And i get this error :
Can't find the forceContent:fileUpload Lightning component in the 'New Lead' flow. Make sure the field’s unique name is 'Upload_File'
here's my work, i already change the name of field into "Upload_File" but it can't

help me to fix this. thank you
I'm doing trailhead challenge, and get some error, do you know how to fix this ?
Here's the challenge
Challenge Requirements:
Create a flow:
Name: New Lead
Type: Screen Flow
In the flow, add a screen with these required screen fields.
Last Name
Company Name
In the flow, create a lead record.
Use the screen fields to set the lead’s Last Name and Company.
Store the lead’s ID in a Text variable called leadId.
In the flow, add another screen with a Lightning component screen field.
Name the field Upload_File
Choose the forceContent:fileUpload Lightning component.
Use the leadId variable to set the component's Related Record ID attribute.
Activate the New Lead flow.
Create a new Lightning page:
Type: Home page
Label: Process Automation Home
In Process Automation Home, add a Flow component that references the New Lead flow.
Activate the page and set it as the default Home page.
And i get this error :
Can't find the forceContent:fileUpload Lightning component in the 'New Lead' flow. Make sure the field’s unique name is 'Upload_File'
here's my work, i already change the name of field into "Upload_File" but it can't
help me to fix this. thank you
All Answers
Please refer the statement given by trailhead team from below link.
https://developer.salesforce.com/forums#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=9060G0000005XSiQAM
Sorry for the trouble. We investigated and discovered the challenge checker is looking for the screen name to be Upload_Files rather than the lightning component field name.
We will get this resolved in our next release. In the meantime, if you update the second screen name to Upload_Files you should be able to pass.
This knowledge article walks you through it:
https://force.desk.com/customer/portal/articles/2932027-lightning-flow-workaround-for-challenge-guide-users-through-your-business-processes-with-cloud-flow-designer?b_id=13478
Please let me know if you have any query and make it Best Answer if it helps.
Thanks,
Ajay Dubedi
Please follow these steps, hope these steps resolve your problem.
1. Search for flow in Quick Find and then click on new flow.
2. Drag and Drop Screen to the Canvas Screen.
3. Give any name of your choice to Screen and then click on Add a Field Tab, select textbox twice one for the Last Name, Company Name.
4. Click on Field Settings tab and give label as Last Name and Company Name and click a Required checkbox.
5. Click Ok.
6. Now Drag and drop Record Create, give an appropriate name, and Select "Lead" as an object.
For Fields, search for LastName and for value click on Screen Input Field Values and select the Last Name.
Similarly for Company Name.
7. Click on (+) on Screen as to mark it as start and connect 'screen' with 'create record' by dragging the connector.
8. Now Save the Flow with New Lead and type Flow and activate it.
9. Now for the last step, search for Lightning App Builder in Quick Find, and on clicking New App, select Home Page, then give a name as "Process Automation Home", click next and then click on "Clone Salesforce Default Page", then Finish.
10. Drage and drop "Flow" from Standard Object to the Canvas.
11. Click Save and Activate.
12. If it is not done Challenge then create new Trailhead Playground and do all the following step.
Please let me know if you have any query.
Thanks,
Ajay Dubedi
It didnt work still comes back with a
Can't find the forceContent:fileUpload Lightning component in the 'New Lead' flow. Make sure the field’s unique name is 'Upload_File'
Choose lightning component :
lightning component name :
overall:
MARK IT BEST IF YOU LIKE IT