You need to sign in to do that
Don't have an account?

Cross Object Auto-Populate Field based on Lookup Selection
Hi there,
In my custom object, I'm trying to auto-populate a Contact Email field based on the Contact selected in a loopkup field on the same page.
Can anyone please provide an example of how this is accomplished?
Thanks so much!
aah, now i see it when selecting Advanced Formula...
That worked!!
Thanks so much for your help!!:)
All Answers
Since you have a lookup to the Contact Object, you can create a text cross-object formula field on the custom object that is equal to the Contact email. Should look something like this:
Custom Formula Field = Contact__r.Email
Hope that helps,
Sati
Thanks!
That makes sense, but I can't get it working.
On the Step 3. Enter formula page, above the field to enter the code, it shows Contact Email (Text) =
I tried entering Contact__r.Email there and it says field does not exist.
Also, it seems I can only select a few merge fields from my custom object in the dropdown, and none are available from other objects.
You may need to pre-pend a namespace. Instead of typing the field name manually, when editing the Formula Field, click on the Insert Field button and look for "Contact >" after selecting your Custom Object, you should be able to browse to the Email field and insert the correct syntax.
Hope that helps,
Sati
aah, now i see it when selecting Advanced Formula...
That worked!!
Thanks so much for your help!!:)
I am attempting to do the same thing ... however, I do not see the Advanced Formula you're referring to. I have Professional Edition, is it possible it's not available for me?
If you could provide me with the raw code that I could put in place, that would be helpful and I will obviously edit it to reflect the fields I'm inserting.
But in the detail page it displays values like: ythhWFv12GD... why so? It should display person name..