function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Matthew Holland 9Matthew Holland 9 

Create Object-Specific Quick Actions error

"Challenge Not yet complete... here's what's wrong: 
The 'Name' and 'Feedback' fields either do not appear on the new action page layout or they are not the only fields present."

I'm lost on how to fix this... maybe I'm overthinking. Can someone pount me to where I'm validate the "new action page layout" fields?
Raj VakatiRaj Vakati
Can you share the code here ? I am sure you are using Salesforce lighting data service.
Matthew Holland 9Matthew Holland 9
I'm learning in trailhead module, I'm not too sure how to share the code
Matthew Holland 9Matthew Holland 9
I'm learning in Trailhead module, not too sure how to share code
Raj VakatiRaj Vakati
Your force:recordData should contain LayouType or fields


<force:recordData aura:id="contactRecordCreator" layoutType="FULL" fields="Name ,Feedback" targetRecord="{!v.newContact}" targetFields="{!v.simpleNewContact}" targetError="{!v.newContactError}" />
 
Raj VakatiRaj Vakati
HI , I guess you need to this thinks
  • add the Quick Action to the salesforce pagelayout 
  • Add The 'Name' and 'Feedback' fieldsto Qucik Action layout 
Matthew Holland 9Matthew Holland 9
I was able to solve it, thanks!!
Shruti Suman MishraShruti Suman Mishra
@Matthew: Can you please let me know how you fixed it?