...
Section | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
- 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.
Section Column width 60%
column
A new Visualforce Page appears.width 40% Type the following information:
sectionColumn width 60% 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. widthColumn 40% In Visualforce Markup, paste the following code, replacing 'My_Custom_Object__c' with the API Name for your object:
Sectioncode column widththeme Confluence 60% <apex:page standardController="My_Custom_Object__c" recordSetVar="listRecs" extensions="NVMConnect.ListFromListViewController" lightningStylesheets="true">
<NVMConnect<NVMConnect:ListFromListView dataSource="{!me}" /> </apex:page>
Column width 40% 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.
...