+ Start a Discussion
Sainath VenkatSainath Venkat 

Custom metadata for field mapping

Hello Everyone, I have two objects
1) Structure__c
2) Agent__c
here structure is the parent and agent is the child object, whenever structure is updating then I need to capture old field values and needs to create record in agent object which can be achieved with trigger.
but now the issue is we want to give field mapping option to end user which I think can be done with custom metadata

Can anyone explain or example code to do field mapping dynamically with custom metadata please.
Maharajan CMaharajan C
Hi Sainath,

Try like as mentioned in the below link: