+ Start a Discussion
PranavLPranavL 

Modifying Salutation text

We use Common Ground and it uses a field called Head of Household and a field called Primary Contact.
Currently we just want to use the field Primary Contact and move all the information from Head of Household to Primary Contact. That part is easy to handle via data loader.
We also want to modify the Casual Salutation and Formal Salutation to tie with the Primary Contact and not the household contact which is currently done by a managed package trigger.

I wanted to know what would be the best way to update the Casual Salutation Text field which is just the first name of the Primary Contact (lookup field) and formal salutation (which would contain Mr.,Mrs.). I am assuming a trigger. If not please suggest.

Is there any code available that has updated the salutation field by reading from the contacts object salutation and then inserting that to the account's object formal salutation text field?

Thanks for reading.