Insert excerpt
Panel | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Task records provide an audit trail for each inbound or outbound call. You can locate tasks in the following places:
- In the Activity History (Salesforce Classic) or Past Activity (Salesforce Lightning Experience) sections in Contact, Leads, Accounts, Opportunities, and so on, as configured for your org.
- In call center reports that use task records to show agent and team activity. For information about creating reports, see Running Salesforce call center reports.
- In the Tasks tab (available in apps in Salesforce Lightning Experience).
- In an Activities tab (in Salesforce Classic) that displays all task records.
How do I add an Activities tab?
To create an Activities tab that displays all task records, perform the following tasks:
- Create a Visualforce page that displays Activities:
- Go to Visualforce Pages within Setup in Salesforce.
- On the left-hand side of the Salesforce window, in the Build section, expand Develop.
- In the expanded list of items, click Pages. Visualforce Pages appears.
At the top of the list of Visualforce pages, click New.
Section widthColumn 60% A new Visualforce Page appears.
Column width 40%Type the following information.
Section Column width 60% Field Description Example Label A label that identifies the page in Setup tools. Activities Name The unique name that identifies the page in the API. The name must contain only alphanumeric characters. For further restrictions on field contents, click Help for this Page. Activities Description An optional description of the page. A page that displays Activities on the Activities tab Column width 40% In the Visual Markup section, paste the following code:
<apex:page >
<apex:enhancedList type="Activity" height="600" />
</apex:page>- Click Save. The page is saved.
- Create a custom tab that uses the Visualforce page:
- Go to the Tabs within Setup in Salesforce.On the left-hand side of the Salesforce window, in the App Setup or Build section, expand Create.
- In the expanded list of items, click Tabs. Custom Tabs appears.In the Visualforce Tabs section click New. Step 1. Enter the Details appears.
Provide the following information:
Field Description Visualforce Page The Visualforce page to display in the tab. Select Activities [Activities]. Tab Label The text that appears in the tab label. Type the tab label text.
For example, Activities.Tab Name A unique name for the tab automatically generated when you type in the Tab Label field. Tab Style The color and image that the tab uses. Click Next. Step 2. Add to Profiles appears.
- Choose the user profiles for which the new tab is available. Click Next. Step 3. Add to Custom Apps appears.
- Choose the custom apps for which the new custom tab is available. Click Save. Your new tab is saved and appears in the list of Visualforce Tabs on Custom Tabs.
The Activities tab now appears for all configured profiles and apps.
Fixing a Time Limit Exceeded error in an Activities tab
If your Activities tab is trying to display too many entries you might receive the following error: Time Limit Exceeded. For information about fixing this error, see Salesforce help.
Panel | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
| ||||||||||||||
Style | ||||||||||||||
div#children-section.pageSection
{
display:none;
} |