O'Reilly logo

The Developer’s Guide to the Force.com Platform by Phil Choi, Andrew Fawcett, Glen Martin, Rick Greenwald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Formula Fields for Related Object Display

Another common use for formula fields is the ability to access fields in related objects for display on a page. The next formula field is an example of this type of use.

1.
Return to the main development page for the Position object and click New to create another new field.
2.
Select Formula as the Field Type and click Next.
3.
Set the Field Label to Location City/State/Country with a return type of Text. Click Next.
4.
Select Location> (to bring up another picklist with fields in the Location object) in the Select Field Type picklist and City in the Insert Field picklist. The right arrow indicates that an entry is for a related object, and selecting that entry will bring up another picklist to the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required