example:
imagine there is dropdown box when user clicks on account then he/she is picking a field from account object the next screen will be showing account child objects so when user clicks on contact i need to show the fieldName between account and contact like 'AccountId' using apex.
4 risposte
@Manoj Kumawat, for triggers this is fine. my case is just receiving argument from lwc side
public static List<String> fetchRelationshipFields(String childObject, String parentObject)
{
// ASSUMPTION
//childObject as contact
//parentObject as account
...actual code
}
this is how I'm actually expecting