You need to sign in to do that
Don't have an account?
Amanda Malloy 1
Build a Discount Calculator- "custom button doesn't exist" error when verifying step
I am on the last module of the Build a Discount Calculator trail. I have verified the first 4 steps and received the 50 points (everything was configured correctly). Now, when I try to verify my last step I am getting the following error:
Challenge Not yet complete... here's what's wrong:
The 'Calculate Discount' custom button doesn't exist or isn't properly configured. Check the instructions.
I've verfied the creation of the button, it's on the correct page layout and I've tested the button- it gives me the correct discount percentage and discounted amount.
Any other ideas on what I should check? I'm at a loss.
Challenge Not yet complete... here's what's wrong:
The 'Calculate Discount' custom button doesn't exist or isn't properly configured. Check the instructions.
I've verfied the creation of the button, it's on the correct page layout and I've tested the button- it gives me the correct discount percentage and discounted amount.
Any other ideas on what I should check? I'm at a loss.
All Answers
Steve
- adding it to all of my Opportunity layouts
- removing additional buttons from the layouts until the button set matched what was in the trailhead screenshots
- removing my Calculate Discount button from all layouts, deleting the button, and creating it all over again (careful to set the API name correctly from the beginning)
Any other ideas, aside from creating a new dev org and starting all over?The 'Calculate Discount' custom button isn't properly configured. Check the instructions for how to configure the Display Type and URL.
Any other ideas out there?
Try using the lowercase button api name - I see you are using uppercase - use this 'Calculate_Discount_button'
Thanks.
The debug log has
- FlowAssignment | Discount_id_5
- FlowRecordUpdate | Update_Discount_Field | 0
I re-created Record Update and the step was successfully completed. I can not think of how to troubleshoot this. Any suggestions?
Thanks
Yes, ThatsYou are right.
Challenge Not yet complete... here's what's wrong:
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Delete failed. First exception on row 0 with id 0017F000005i8H0QAI; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Cannot delete account with related opportunities.: []
Any ideas?
@Squire TH Kershner That did it!
Salesforce can you please fix this? It's June now and still not fixed?
Challenge Not yet complete... here's what's wrong:
There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: OQEETRNL
I have verified all steps. Here is my screen shot. Any assistance is greatly appreciated.
Challenge Not yet complete... here's what's wrong:
The 'Calculate Discount' custom button doesn't exist or isn't properly configured. Check the instructions.
Challenge Not yet complete... here's what's wrong:
There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Discount_Percent__c]: [Discount_Percent__c]
Challenge Not yet complete... here's what's wrong:
The 'Calculate Discount' custom button doesn't exist or isn't properly configured. Check the instructions.
I have pasted some screenshots in a document for your and everybody's reference. Here is the link:https://drive.google.com/drive/folders/1xn_WIIazZJo0lGvjJLQNPTcGw1nwXZ8w?usp=sharing
BR,
Puneet
Could you add one of the button setup screen to the forum?
I just ran through this project end to end tonight with no issues. It is working as expected.
The 'Calculate Discount' custom button isn't properly configured. Check the instructions for how to configure the Display Type and URL.
I have tried with all the solutions mentioned above by various users. I have tried using "Calculate_Discount_Button" Api and "Calculate_Discount_button" both are not working for me.... It would be of great help if anyone could figure it out.
Thanks in Advance.
Challenge Not yet complete... here's what's wrong:
The opportunity layout doesn't include the 'Calculate Discount' custom button. Check the instructions.
Step not yet complete... here's what's wrong:
The 'Calculate Discount' custom button doesn't exist or isn't properly configured. Check the instructions.
I am getting a similar error:
"Step not yet complete... here's what's wrong:
The opportunity layout doesn't include the 'Calculate Discount' custom button. Check the instructions."
I would suggest to recheck the entire flow as sometimes the error which pops up is totally different from the actual issue.
I also got the same error “The 'Calculate Discount' custom button doesn't exist or isn't properly configured. Check the instructions.” however when I rechecked my entire flow the issue was with the Decision Making box where we decide which discount to apply .I had mistakenly put the wrong criteria for Full discount where the Operator should be “Greater Than” and instead I have chosen “Equal to” which was conflicting with the Partial discount criteria. Ideally this error should have caught in previous steps but did not. After corrections there was no issue and the challenge was completed successfully.
Hope this helps!!
Regards,
Rajesh
Error:
Setup of Button:
The opportunity layout doesn't include the 'Calculate Discount' custom button. Check the instructions.
Any other options/feedback here to address?
And please check the URL :
Please help me to solve error
@manvitha malireddy 7
That worked for me. Thanks!
"The opportunity layout doesn't include the 'Calculate Discount' custom button. Check the instructions."
Challenge Not yet complete... here's what's wrong:
The 'Calculate Discount' custom button doesn't exist or isn't properly configured. Check the instructions.
Then I go for URL Check:
/flow/Calculate_Discounts?AccountId={!Opportunity.AccountId}&OpportunityId={!Opportunity.Id}
And this works for me.
If you are also facing same difficulties , Go and Check url you pasted in text box while creating button.
Its 100% working. If you pass the difficulties by using this hints click Like .
I am on the last module of the Build a Discount Calculator trail. I have verified the first 4 steps and received the 100 points (everything was configured correctly). Now, when I try to verify my last step I am getting the following error:
Challenge Not yet complete... here's what's wrong:
The 'Calculate Discount' custom button doesn't exist or isn't properly configured. Check the instructions.
Then I go for URL Check:
/flow/Calculate_Discounts?AccountId={!Opportunity.AccountId}&OpportunityId={!Opportunity.Id}
And this works for me.
If you are also facing same difficulties , Go and Check url you pasted in text box while creating button.
Its 100% working. If you pass the difficulties by using this hints click Like .
You gotta put the button with the API name "Calculate_Discount" right into the "Mobile & Lightning Actions", not only in the "Opportunity Detail (Custom Buttons)" section!!