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
Animesh DattaAnimesh Datta 

Populate To field in EmailAuthor page in custom object


I am trying to populate TO field in Email author as Account Name in a Custom Object. But To field is populating as blank. Below is the code sample. Kindly Help!!!!
/***Account_1_Id__c(getting account id) is a formula field on Offer__c and Account is lookup in Offer__c*****/


Shailesh DeshpandeShailesh Deshpande
You cannot do this as the TO can only contain Contacts/Leads.
Animesh DattaAnimesh Datta
it worked for person account. however, as per standard i am using person contactid now. But here problem was with "/" before p2_lkid. After removing the same it starts working.