You need to sign in to do that
Don't have an account?
SZouras
Newbie to dev
Hey guys,
I've searched but haven't seen this exact scenario, so perhaps I'm wording it wrong, but here goes on the explanation, in hopes to get some guidance.
Scenario, in point form:
Thanks for any guidance!
I've searched but haven't seen this exact scenario, so perhaps I'm wording it wrong, but here goes on the explanation, in hopes to get some guidance.
Scenario, in point form:
- I have a custom object = Sessions
- I need to relate Sessions to the standard object, Accounts, using the Account Name
- I have two fields on Sessions to accomplish = Account Name (lookup to the Account standard object), and = Account Name Submitted
- Sessions entries are submitted via webform, so I am using a custom field to capture the Account name = Account Name Submitted
- The idea is that the Account Name Submitted is what the user submits, and what I want to do is have a trigger or process that looks up the Account Name Submitted, determine if there is a match to an Account Name in the system, and if so, update the Account Name lookup field on the custom Sessions object to created the association
Thanks for any guidance!
SZouras,
You are thinking the correct way.
You can accomplish this with the help of triggeres, and I guess it is easiest way to do this.