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
jkcjkc 

Change Record Name to Auto-number

Hi,

I created a custom object and set the record name to text and now I realize that I need to set it to Auto-number. The problem is I cannot change it.
this object is included in my managed package so I cannot delete and recreate.

Is there a way around this?
I'll appreciate any help. Thanks
Best Answer chosen by jkc
Sumit Kumar Singh 9Sumit Kumar Singh 9
Then, you should raise a case to salesfroce for changing the data type of the field.
Hope this will help you.

Thnaks,
Sumit Kumar Singh

All Answers

Sumit Kumar Singh 9Sumit Kumar Singh 9
Hello JKC,

I don't think you can delete the Name field as it is a standard field, you can change the type from text to auto number though.
As the manish suggested it will be applied to the new records only.

Thanks,
Sumit Kuamr Singh
jkcjkc

Hi Manish & Sumit,
Thank you for your reply.
The problem is I cannot change the data type

User-added image

 

Sumit Kumar Singh 9Sumit Kumar Singh 9
Then, you should raise a case to salesfroce for changing the data type of the field.
Hope this will help you.

Thnaks,
Sumit Kumar Singh
This was selected as the best answer
jkcjkc
I'll do that, thanks Sumit.
Blanka DoktorovaBlanka Doktorova
I know it's an old post, but you can change the data type of the Name field. Only not in FIelds & Relationships but in Details (Edit) of the Custom object :-)
Michiel van FeliusMichiel van Felius
Thx, Blanka Doktorova!