+ Start a Discussion
Vijay NagarathinamVijay Nagarathinam 

Copy field dependency from one object to another

Hi,

Is it possible to copying the field dependencies from one object to another object? Please let me know if you have any idea about this.

Thanks,
Vijay

 
Harshit Garg 6Harshit Garg 6

HI Vijay,

You can not achieve this through standard functionality because in salesforce field dependencies work in one single page layout, if you want to update any field corresponding to another object field so for this you can achieve this through apex class and trigger.

Below is one app by which might be you can achieve.

https://appexchange.salesforce.com/listingDetail?listingId=a0N30000000qb65EAA

But in the only lead, you can map field to contact field.Only for Lead and contact 

If this solution will help you, Please choose my answer as a best answer.

Thanks,
Harshit garg
harshitgarg2591@gmail.com

 

 

 

LBKLBK
Hi Vijay,

Can you be little more specific about the requirement?

Are you trying to duplicate an object?
Vijay NagarathinamVijay Nagarathinam
Hi,

My requirement is I am having two objects, Custom object 1 and custom object 2. Both objects having the common picklist with same values. If anyone changed the field dependency in object 2 then the new dependency should be updated to object 1.