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
LudivineLudivine 

null

Hi all,

How can I create a formula field to display the Related To Account Name on my Event Page?
When I customize the formula, I am only able to find the WhatId but how can I do to add a WhatId or WhoId.Account.Name field?

Many thanks,
Regards,
Ludivine
RamuRamu (Salesforce Developers) 
Hi Ludivine, Unfortunately it is not possible to get the related field values using the whatid relationship through standard functionality. Unlike other lookup/master detail relationship fields on objects, Whatid(Related to) field is a special lookup field that follows the standard hardcoded functionality which refers to multiple objects and do not have the provision to refer to a particular object fields.

Hope this helps. 

You would need to write triggers to accomplish your requirement.