Take the 2-minute tour ×
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.

I want to add picklist for a custom object I have created. When I navigate to Field dependencies for that custom object and click new the Controlling field and dependent field drop down list are empty.How can I populate them with other custom object created before ?

share|improve this question

4 Answers 4

Dependent picklists can only work on the same object. That means that if a custom object A__c has a master-detail relationship with B__c, then a picklist on B__c can't reference the picklist from A__c.

share|improve this answer

Standard and custom Checkboxes and Picklists can be CONTROLLING FIELDS. Custom Picklists and multi-select Picklists can be DEPENDENT FIELDS.

Hence if you have any of these type fields then only Controlling field and dependent field drop down list will be populated with selective options.

share|improve this answer

If those objects are related you can also create set of validation rules that will define which values of picklist are allowed, but you cant hide other values.

The only way you can create such picklist is injecting some small VF page in layout. In controller of this page you can define rules of setting values on this picklist.

share|improve this answer

How to apply controlling picklist,dependent picklist for custom objects? please explain with simple example..

share|improve this answer
    
If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. –  sfdc_ninja Oct 2 at 18:28
    
This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. –  Ryan Guest Oct 2 at 19:31
    
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. –  mast0r Oct 2 at 22:29

Your Answer

 
discard

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.