You need to sign in to do that
Don't have an account?
Trailhead Formula & Validation (3/3) Issue - My Dev instance missing key APIs/Fields?
The challenge begins:
Here my problem: these fields do not exist within my developer edition. The only thing I have is MailingAddress, whereas this challenge asks for a postal code field. Other documentation (https://help.salesforce.com/HTViewHelpDoc?id=fields_useful_validation_formulas_contact.htm&language=en_US) refers to nonexistent fields like MailingStreet and MailingCountry. Or at least, they're nonexistent for me. Here's a screenshot:

I can't create the missing fields myself, because then the API name would be "MailingPostalCode__c" etc. for custom fields, and that would be wrong.
Is my dev implementation flawed somehow? Any idea how I might fix that?
"To complete this challenge, add a validation rule which will block the insertion of a contact if the contact is related to an account and has a mailing postal code (which has the API Name MailingPostalCode) different from the account's shipping postal code (which has the API Name ShippingPostalCode)."
Here my problem: these fields do not exist within my developer edition. The only thing I have is MailingAddress, whereas this challenge asks for a postal code field. Other documentation (https://help.salesforce.com/HTViewHelpDoc?id=fields_useful_validation_formulas_contact.htm&language=en_US) refers to nonexistent fields like MailingStreet and MailingCountry. Or at least, they're nonexistent for me. Here's a screenshot:
I can't create the missing fields myself, because then the API name would be "MailingPostalCode__c" etc. for custom fields, and that would be wrong.
Is my dev implementation flawed somehow? Any idea how I might fix that?
There is nothing wrong with your dev org. Mailing Address is a compound field which is managed by SFDC internally.
Here is the details documenation about compound fields
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/compound_fields_address.htm
So if you will put MailingPostalCode in validation rule it will not throw an error.
Makes sense?
Thanks,
Himanshu
All Answers
There is nothing wrong with your dev org. Mailing Address is a compound field which is managed by SFDC internally.
Here is the details documenation about compound fields
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/compound_fields_address.htm
So if you will put MailingPostalCode in validation rule it will not throw an error.
Makes sense?
Thanks,
Himanshu
1. First Click on Validation rule in sidemenu
2. Select postal code from insert field popup.
If people look in the right place (per your second graphic), instead of wondering "let me check if I see that field first" - then it comes up in the interface and of course there are no problems. If you hadn't added that 2nd post, I'd still be stuck!
Yes I realized that later that is why I captured the screenshot to make it clear :)