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
nareshnaresh 

creation of an object .

while creating an object the record name data type is text. And what will be the default size of the text. And can we set the text size length as '30'
pconpcon
If you choose Text, the length of the field will be 80 characters long, and you cannot change this.  You could always write a validation rule / trigger to block the creation of the record if the length greater than 30 characters.