Activity Forums Salesforce® Discussions What are the different data types that a standard field record name can have?

  • Prachi

    Member
    September 4, 2018 at 2:42 pm

    Hi Chanchal,

    A standard field record name can have data type of either auto number or text field with a limit of 80 chars.

    For generating auto numbers, the format needs to be specified while defining the field and after that for every record that is added, the number will get auto generated. For example:-
    Sr No-{1}
    Sr No-{2}
    Sr No-{3}

    Thanks.

  • Parul

    Member
    September 4, 2018 at 4:10 pm

    Hi Chanchal,

     

    All you need to do is navigate to the custom object and change field type from Auto Number to Text. After the change, the old/existing records would still keep their Auto Number values so you needn’t worry about losing historical data.

    The only thing that I would be worried about is any apps/workflow rules /processes working off the Auto Number field increments. If you don’t have those in your org, then go ahead and make the change.

     

    Thanks.

    • This reply was modified 5 years, 8 months ago by  Parul.
  • shariq

    Member
    September 14, 2018 at 10:58 pm

    Hi,

    It can only have auto number type or text type.

    You can set a format of auto number  for example-[a0000],[a0001]etc

    Hope this helps.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos