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
Anusha Bansal 1Anusha Bansal 1 

Overview of Custom Objects Challenge

Create a custom object with 'Trail' with resulting API name to be 'Trail__c'. Try to enter the Object name as Trail__c.  It give error as:" 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 suggest

Error_Screenshot
 
Javwad AzeemJavwad Azeem
Hi Anusha,

"Trail" will be the object name and when you save the details, API name will be Trail__c by default. As salesforce appends "__c" with every custom fields and object to identify them as custom objects or fields.

Please refer the below links:-
  • https://help.salesforce.com/articleView?id=000007594&type=1
  • https://salesforce.stackexchange.com/questions/101844/what-are-the-object-and-field-name-suffixes-that-salesforce-uses-such-as-c-an

Regards,
Javwad Azeem
Amit Chaudhary 8Amit Chaudhary 8
In Object Name enter "Trail" only. __C will come automaticly.

 
Anusha Bansal 1Anusha Bansal 1
Hi,

@Javwad Azeem

I tried creating as suggested but still I am getting the error as per below screenshot.
ApplicationChallenge error
 
Amit Chaudhary 8Amit Chaudhary 8
Please check you also created the all required field ?