6

Is it possible to show html email status along with activity history related list in accounts? Right now i have to click on the contact then only i can see the html status.

What i have tried: Adding a custom vf page into account layout. Problem: I cannot query EmailStatus Object.

Then i though i will add a repeater in that page with account's contacts and add a component which uses standard contact controller and get the EmailStatus related list.

But later i came to know that you cannot use standard contoller with a component.

5
+50

It looks like you cannot query the object directly but you could query the parent of the EmailStatus, for example the contact and it's children records and filter it by account:

Select Name, AccountId, (Select Id, EmailTemplateName From EmailStatuses) From Contact WHERE AccountId = '0018000000QbytrAAB'
| improve this answer | |
  • Sadly, even though Task object has this child relationship too (per Workbench), it's only queryable from Contacts and Accounts per Jenny's example. – Doug Ayers Dec 31 '16 at 20:52
  • I meant to say from Contacts and Leads, not Accounts – Doug Ayers Jan 1 '17 at 5:18
6

Shanker

As per this reference, HTML Email Status Related list is available only for Leads, Contacts and Person Accounts which has the standard email field.

if your question is about adding it to Person Accounts then you can go to Person Account page layout and add it.

but if its for normal Accounts which doesn't have a standard Email field, you cannot add this related list directly. You need to build a visualforce page which can display the related list from the associated Contact and then you can add this VF page into the Standard Account page layout.

| improve this answer | |
  • VF page into the Standard Account page layout. how can i do it? – Shanker Paudel Aug 26 '14 at 10:09
  • Hi i can to know how to add visualforce page. But the EmailStatus object is not queriable is there any workaround? – Shanker Paudel Aug 26 '14 at 12:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.