You need to sign in to do that
Don't have an account?
Suzi Simmons 30
Trailhead challenge on lead quality formula field
Trailhead formula challenge for lead quality
It works when I click on the lead, but I can't pass the challenge:
Challenge Not yet complete... here's what's wrong:
The Lead object does not display the formula fields correctly. Tip: check the requirements again and make sure you have the correctly forumlas and their values.
here is my code:
field lead_quality_helper__c formula type number
IF( ISBLANK( Email ) , 0, 1) +
IF( ISBLANK( Phone ) , 0, 1) +
IF( ISBLANK( Company ) , 0, 1) +
IF( ISBLANK( Title ) , 0, 1) +
IF( ISpickval(Industry , ""), 0,1)
Here is the lead_quality__c field formula type text
CASE(Lead_Quality_Helper__c,
1, IMAGE("/img/samples/stars_100.gif", "1 star"),
2, IMAGE("/img/samples/stars_200.gif", "2 stars"),
3, IMAGE("/img/samples/stars_300.gif", "3 stars"),
4, IMAGE("/img/samples/stars_400.gif", "4 stars"),
5, IMAGE("/img/samples/stars_500.gif", "5 stars"),
IMAGE("/img/samples/stars_000.gif", "0 stars"))
Can anyone see what I am missing for the challenge? It works just fine.
Thanks in advance
It works when I click on the lead, but I can't pass the challenge:
Challenge Not yet complete... here's what's wrong:
The Lead object does not display the formula fields correctly. Tip: check the requirements again and make sure you have the correctly forumlas and their values.
here is my code:
field lead_quality_helper__c formula type number
IF( ISBLANK( Email ) , 0, 1) +
IF( ISBLANK( Phone ) , 0, 1) +
IF( ISBLANK( Company ) , 0, 1) +
IF( ISBLANK( Title ) , 0, 1) +
IF( ISpickval(Industry , ""), 0,1)
Here is the lead_quality__c field formula type text
CASE(Lead_Quality_Helper__c,
1, IMAGE("/img/samples/stars_100.gif", "1 star"),
2, IMAGE("/img/samples/stars_200.gif", "2 stars"),
3, IMAGE("/img/samples/stars_300.gif", "3 stars"),
4, IMAGE("/img/samples/stars_400.gif", "4 stars"),
5, IMAGE("/img/samples/stars_500.gif", "5 stars"),
IMAGE("/img/samples/stars_000.gif", "0 stars"))
Can anyone see what I am missing for the challenge? It works just fine.
Thanks in advance
1) https://developer.salesforce.com/page/Trailhead_FAQ
I think my work is correct, but the challenge verification is still giving me an error.
If you think you've completed the challenge correctly, but you are still getting errors, make sure that you are using a fresh Developer Edition that does not have a namespace prefix. (What is a namespace prefix?) If you are still having trouble, use the “Share Feedback” button in the footer or on the right column to send a support request.
Please try to create new developer org without domain name and namespace with same formula field
let us know if this will help you
Thanks
Amit Chaudhary
All Answers
Try this :
For TEXT Formula (Lead_Quality__c)
Also make sure , you added these fields to your Lead Layout Page Layout.
1) https://developer.salesforce.com/forums/?id=906F0000000MJ5SIAW
2) https://developer.salesforce.com/forums/?id=906F0000000MIzjIAG
3) https://developer.salesforce.com/forums/?id=906F0000000DDaRIAW
Lead Quality Helper Lead Quality .....................
or
Let us know if this will help you
Thanks
Amit Chaudhary
Challenge Not yet complete... here's what's wrong:
The Lead object does not display the formula fields correctly. Tip: check the requirements again and make sure you have the correctly forumlas and their values.
-------------------------------------------------------------------------------------------------------------------
Lead quality helper (Lead_Quality_Helper__c) field visible to all, read-only for all
Formula return type is number
IF( ISBLANK( Email ) , 0, 1) +
IF( ISBLANK( Phone ) , 0, 1) +
IF( ISBLANK( Company ) , 0, 1) +
IF( ISBLANK( Title ) , 0, 1) +
IF( ISpickval(Industry , ""), 0,1)
-----------------------------------------------------------------------------------------------------------------------
Lead Quality (Lead_Quality__c) field visible to all, read-only for all
Formula return type is text
CASE(Lead_Quality_Helper__c,
1, IMAGE("/img/samples/stars_100.gif", "1 star"),
2, IMAGE("/img/samples/stars_200.gif", "2 stars"),
3, IMAGE("/img/samples/stars_300.gif", "3 stars"),
4, IMAGE("/img/samples/stars_400.gif", "4 stars"),
5, IMAGE("/img/samples/stars_500.gif", "5 stars"),
IMAGE("/img/samples/stars_000.gif", "0 stars"))
Page layout display fine, responds to changes when I add or delete a relevant field's contents.
If you want i see issue your org. Feel free to connect with me on my email id "amit.salesforce21@gmail.com"
1) https://developer.salesforce.com/page/Trailhead_FAQ
I think my work is correct, but the challenge verification is still giving me an error.
If you think you've completed the challenge correctly, but you are still getting errors, make sure that you are using a fresh Developer Edition that does not have a namespace prefix. (What is a namespace prefix?) If you are still having trouble, use the “Share Feedback” button in the footer or on the right column to send a support request.
Please try to create new developer org without domain name and namespace with same formula field
let us know if this will help you
Thanks
Amit Chaudhary
So, that you!!