Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

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

I want to add 10 fields to user object. Shall I add it to User object directly or shall I first create child object of the user object and then add those fields to it? Which one is best approach? any thought?

share|improve this question
Any reasons why don't to add it to User object directly? – Sergey Utko Jan 30 '13 at 8:48
@mast0r I am looking for pros and cons of each approach – doga Jan 30 '13 at 8:50
up vote 5 down vote accepted

If the fields that you need to add have a direct 1:1 relationship with any given user, I would say add them to the User object directly and possibly create a new Section on the page layout to house them.

The other thing to consider is that you can't have the User as the Master in a Master/Detail relationship you can only specify a lookup. If you create a lookup from your 'child' object to User, I don't think you'll then be able to see those records as a related list on your User record as you might expect on other objects.

You could however create a lookup from User to a new object which would then allow you to access the object from the link on the User object or in apex via the Relationshipname__r.

share|improve this answer

I think you should create these fields on User object directly so that you can also access User objects properties/fields as well along with your fields.

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.