You need to sign in to do that
Don't have an account?
Greg Palmer 13
Creating contacts for accounts where there is no linked contact
I am looking for the best way of looping through all of the accounts in our salesforce instance.
Where no contact is associated with that account, I would like to create a contact, pulling specific information from the account to populate the fields of the contact.
Could someone point me in the right direction.
Where no contact is associated with that account, I would like to create a contact, pulling specific information from the account to populate the fields of the contact.
Could someone point me in the right direction.
You have to write after insert trigger on contact.Check if account is associated with the Account and populate the fields of the contact based on your reqruirement.
Important :
If this is what you were looking for then please mark it as a "SOLUTION" or You can Click on the "Like" Button if this was beneficial for you.