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



To create a page that contains code for the Create Dial List button, perform the following steps:

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

    section


    Column
    width60%

    A new Visualforce Page appears.

    Column
    width40%
    New VisualForce PageImage Removed

  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.
    column
    width40%

    New VisualForce PageImage Removed


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

    column60%VisualForce markupImage Removed
    Sectioncode
    theme
    width
    Confluence
    <apex:page standardController="My_Custom_Object__c" recordSetVar="listRecs" extensions="
    NVMConnect
    VCCConnect.ListFromListViewController"
    > <NVMConnect
     lightningStylesheets="true">
    <VCCConnect:ListFromListView dataSource="{!me}" />
    </apex:page>
    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.