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
Hayley Weston 8Hayley Weston 8 

Challenge - Craeting Object relationships.

When i am trying to complete the challenge, It asks me to Create an object with 'Campsite' as the Label and Object Name. The object must have the resulting API name of 'Campsite__c'.
When i am trying to action this the following error applies. If i try to submit with one underscore the challenge says it cannot locate it.

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.
Best Answer chosen by Hayley Weston 8
Dhanya NDhanya N
Hi Hayley,

While creating object, provide Label as 'Campsite' 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.

User-added image

Thanks,
Dhanya