Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section


Column
width60%

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.

Note
titleContacts and Leads views
Installing Connect includes the code pages for creating a Dial List from Contacts and Leads List Views.



Column
width40%


Panel
borderColor#eeeeee
bgColorwhite
titleColorwhite
borderWidth1
titleBGColor#0367a0#4280FF
borderStylesolid
titleProgress
Page Treechildren
rootConfiguring Connect
pageSetting up a Create Dial List button



...

  1. Go to Setup in Salesforce.
  2. On the left-hand side of the Salesforce window, in the Quick Find field, type 'Visualforce Pages'.
  3. In the filtered list of items, click Visualforce PagesVisualforce Pages appears.
  4. At the top of the list of Visualforce pages, click New.

    Section Columnwidth60%


    A new Visualforce Page appears.

    column

    width40%

    New VisualForce PageImage Modified

  5. Type the following information:

    section

    Column

    width60%
    FieldDescriptionExample
    LabelA label that identifies the page in Setup tools.Dial List From Custom Object
    NameThe 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
    DescriptionAn optional description of the page.Code for a button that creates a Dial List from selected entries in a List View.
    Columnwidth
    40%

    New VisualForce PageImage Modified

  6. In Visualforce Markup, paste the following code, replacing 'My_Custom_Object__c' with the API Name for your object:

    columnwidth
    <apex:page standardController="My_Custom_Object__c" recordSetVar="listRecs" extensions="NVMConnect.ListFromListViewController" lightningStylesheets="true">
    <NVMConnect
    
    <NVMConnect:ListFromListView dataSource="{!me}" />
    </apex:page>
    VisualForce markupImage Removed
    Sectioncode
    theme
    Confluence
    60%
    Column
    width40%

    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.

...