Is custom field namespacing best practice?

Anonymous
Not applicable

Is custom field namespacing best practice?

Should I namespace my custom variables? Will adding a prefix stop any name collissions now and in the future for future custom variables?

Ive been naming my custom fields like this:
  • "<Company Name> Scholarship Optin"
  • "<Company Name> Registered Product"
  • etc
Is this best practice? Should I drop using the company name prefix and just use the raw name e.g. "Scholarship Optin"
Tags (1)
1 REPLY 1
Anonymous
Not applicable

Re: Is custom field namespacing best practice?

I use underscores for spaces in Custom field nameinng. Mostly because thats how salesforce normaly is from the system I came from. So it would look something like this: first_name,  last_name, lead_email. On the front end it will look like this: First Name, Last Name, Email. Not sure if this answers your question or not

It's just something ive always done. It limits user error for accidently puting more than once space or soemthing. 

Just how I do it 🙂