Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the best naming convention developers around have been using for defining Record names to maintain uniqueness that can also be searched easily :

foreg: opportunity name : Opportunity name_Account_name_unique_identifier

share|improve this question
How is your question relevantly different than the one you refer to ? – Samuel De Rycke Jan 10 '13 at 23:18
I think he might really mean record naming convention and not Object naming convention, eg, "Acme Corp - Opp 1", "Acme Corp - Opp 2", etc. – Peter Knolle Jan 10 '13 at 23:26
@PeterKnolle Yes i was meaning to record naming convention I was just giving that as a reference to see what would be the best naming convention methodology. ( I will take the link off if that is confusing) – Rao Jan 10 '13 at 23:36
@rao - I think the confusion was not the link but that your question uses the words "object names" as opposed to "record names". – Peter Knolle Jan 10 '13 at 23:41
up vote 2 down vote accepted

I'd say the convention you've come up with is pretty solid, you may not even want an opportunity name, it could just be <<Accout_Name>>_Oppty_<<unique ID>> or similar.

You could also include the date in there, but that information is available in the system CreatedDate field anyway so may be redundant unless you're using text search specifically.

The only difference I would make over your convention would be to have the account name first so that they get grouped by account when sorted alphabetically—that said, if your opportunity names form a desired grouping then keep the format you have.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.