function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Marco JanmaatMarco Janmaat 

Contact Reference doesn't work when making new field in different object

Hi,

I tried to load the email of the contactperson into my orders objects.
I created a new field, formula > text.

In the formula I try to reference the contactperson email field by:
Text(contact.email). It keeps giving me the error: "Error: Contact field does not exist. spell check.".

However, when I try Opportunity, or Contract or any other field to reference, it does work.

Any idea?
Many thanks
SwethaSwetha (Salesforce Developers) 
HI Marco,
Can you try something like Contact__r.Email and confirm if that works.

See related posts:
https://developer.salesforce.com/forums/?id=906F0000000MI1eIAG
 https://salesforce.stackexchange.com/questions/208424/field-does-not-exist-error-when-creating-formula-field

If this information helps, please mark the answer as best. Thank you