Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Schema.DescribeFieldResult result = Lead.Field1__c.getDescribe();
- if (result.isDependentPicklist()) {
- system.debug(result.getController()); //Field2__c
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement