Creating the VisualForce page for a Create Dial List button
A Create Dial List button provides a quick way of creating a Dial List from selected customers in a List View. The first step in enabling users to create a Dial List from a List View is to create a page that contains the code for the button.
Contacts and Leads views
- Creating the VisualForce page for a Create Dial List button
- Creating a Create Dial List button for a standard object
- Creating a Create Dial List button for a custom object
- Adding a Create Dial List button to a List View page for a standard object
- Adding a Create Dial List button to a List View page for a custom object
To create a page that contains code for the Create Dial List button, perform the following steps:
- Go to Setup in Salesforce.
- On the left-hand side of the Salesforce window, in the Quick Find field, type 'Visualforce Pages'.
- In the filtered list of items, click Visualforce Pages. Visualforce Pages appears.
At the top of the list of Visualforce pages, click New.
A new Visualforce Page appears.Type the following information:
Field Description Example Label A label that identifies the page in Setup tools. Dial List From Custom Object 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. DialListFromCustomObject Description An optional description of the page. Code for a button that creates a Dial List from selected entries in a List View. In Visualforce Markup, paste the following code, replacing 'My_Custom_Object__c' with the API Name for your object:
<apex:page standardController="My_Custom_Object__c" recordSetVar="listRecs" extensions="VCCConnect.ListFromListViewController" lightningStylesheets="true"> <VCCConnect:ListFromListView dataSource="{!me}" /> </apex:page>
Click Save. Your newly created page appears.
You must now create a button to use the code. For information about adding a new button, see Creating a Create Dial List button for a standard object or Creating a Create Dial List button for a custom object.
For general assistance, please contact Customer Support.
For help using this documentation, please send an email to docs_feedback@vonage.com. We're happy to hear from you. Your contribution helps everyone at Vonage! Please include the name of the page in your email.