Skip to main content

Hello All,

Looking to see if we can interlay a Lightning Component in a Contact Record upon "creating" and "editing" that will format a Contact's telephone number(s) based on their selected country, and after saving, it will update formula fields that we use to leverage click to dial?

 

I have seen mixed messages on using Lightning Components to do specific tasks on a new record, but since there isn't a "saved" record, it might not update formula fields immediately...possible limitation.  or does it make sense to only the Lightning Component on Edit and not on Create?

1 Kommentar
  1. 6. Aug. 2018, 00:50

    This could be done with a Lightning Component Quick Action. This approach means that you would have to implement all the fields on Contact that you want to capture when you're creating a new Contact. Also it's likely people will find ways other than the custom component to create and edit Contact records.

    Possible that you could do this in process builder but I think an Apex trigger would give a cleaner implementation. The Trigger approach catchs all Contacts created from any source.

    Thanks,

    Peter

0/9000