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

re-creating UI of standard Salesforce multiple selection of contacts for Shared activities



  I've enabled shared activities in my sandbox and would like to create a page to allow creating one.  I need my own page/controller extension because I want to show more information on the page.


Once you've enabled Shared Activities the standard Salesforce page, accessed by clicking Log Call button in a contact's "Activity History" related list, provides a multi-select control.  I got the single-select functionality by including the following in my form:


         <apex:inputField id="name" label="Name" value="{!theTask.WhoId}" />


  Does anyone know of what I should include on my page to get the multiple selection of contacts control?