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
jaysree Ajaysree A 

Challenge not completed


"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 complete this challenge. Thanks!
Best Answer chosen by jaysree A
JyothsnaJyothsna (Salesforce Developers) 
Hi Jaysree,

While creating an object, For example, the object name is "project" provide Label as 'Project' and also provide Plural Name.Object Name will take the Label Name by default. No need to give "__c". While saving it will append "__c" in API name. For your reference I am attaching the screenshot of this object, please check it once.

User-added imageHope this helps you!
Best Regards,
Jyothsna

All Answers

SarisfdcSarisfdc
lets suppose you are trying to create a field (Test Filed) in any object (Object A).
Then create a field and put the name of the field as  Test Field. Do not put its name as Test_Field__c. 
After saving the Test Field. Its API name will become Test_Field__c.

Thanks

 
Jerome RussJerome Russ
Could you elaborate on your problem? When are you getting this error? What is the Object Name you are trying to use?
JyothsnaJyothsna (Salesforce Developers) 
Hi Jaysree,

While creating an object, For example, the object name is "project" provide Label as 'Project' and also provide Plural Name.Object Name will take the Label Name by default. No need to give "__c". While saving it will append "__c" in API name. For your reference I am attaching the screenshot of this object, please check it once.

User-added imageHope this helps you!
Best Regards,
Jyothsna
This was selected as the best answer