You need to sign in to do that
Don't have an account?

VF page for events for contacts
Hi,
We uses share activiities that means we can add multiple contacts to an event. Stndar relate list "Name" only shows contact name an the type. So i am trying to add aVF page on event to show the contacts associated to an event and their email address.
I am getting this error:
this is my page:
thanks.
Richa
We uses share activiities that means we can add multiple contacts to an event. Stndar relate list "Name" only shows contact name an the type. So i am trying to add aVF page on event to show the contacts associated to an event and their email address.
I am getting this error:
Could not resolve field 'eventwhoids' from <apex:outputField> value binding '{!Event.eventwhoids}' in page Events
this is my page:
<apex:page standardController="Event" > <apex:pageBlock> <apex:pageBlockSection title="Contacts"> <apex:outputField value="{!Event.Eventwhoids}"/> </apex:pageBlockSection> </apex:pageBlock> </apex:page>
thanks.
Richa
EventWhoRelation object will contain all shared contact details. You have to use inline query to get those record in the extension controller and then display the value in your visualforce page.
https://developer.salesforce.com/docs/atlas.en-us.200.0.api.meta/api/sforce_api_objects_eventwhorelation.htm
Check this link for more details -