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
Michael Williams 44Michael Williams 44 

Create Custom Objects and Fields - Challenge

Two consecutive underscores are not allowed even though the challenge requests the following:
Trail__c
Description__c
Distance__c
Last_Inspection_Date__c

"Error: The Object Name field can only contain underscores and alphanumeric characters. It must be unique, begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores."

Please advise how to accomplish this challenge. Thanks!
SarisfdcSarisfdc
I think you are trying to create field with the following labels
Trail__c
Description__c
Distance__c
Last_Inspection_Date__c

You can not use underscore in the label name. For above fields use below label name, it will automatically take the above names as api name

Trail
Description
Distance
Last Inspection Date

Thanks!
DeepthiDeepthi (Salesforce Developers) 
Hi Michael,

For creating any custom field names or custom objects in Salesforce, you have to name it under "Label" field then it automaticaly appends "__c" for the Api name.
For reference, check the below screenshot:

User-added image

Hope this helps you!
Best Regards,
Deepthi